Code

Changes between Initial Version and Version 4 of Ticket #16563


Ignore:
Timestamp:
09/08/11 03:49:22 (3 years ago)
Author:
jezdez
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16563

    • Property Status changed from new to reopened
    • Property Severity changed from Normal to Release blocker
    • Property Patch needs improvement unset
    • Property Needs tests unset
    • Property Milestone changed from to 1.4
    • Property Needs documentation unset
    • Property Triage Stage changed from Unreviewed to Design decision needed
  • Ticket #16563 – Description

    initial v4  
    22Looking it shows that request.user is a SimpleLazyObject and it is a <lambda>, so it can not be pickled. 
    33 
    4  
     4{{{ 
    55try: 
    66    import cPickle as pickle 
     
    1111def some_view(request): 
    1212    pickle.dumps(request.user) # raise type error 
    13     ... 
     13    … 
     14}}}