Message172887
The documentation of persistent_id prescribes that returning None will cause default pickling behavior. This makes sense.
However, in the Pickler.save function in pickle.py, the return value of persistent_id checked as boolean, causing also return values like 0 and [] to indicate default pickling.
This becomes a problem when unpickleable objects are identified by a simple index in some other list. |
|
Date |
User |
Action |
Args |
2012-10-14 14:30:17 | pschaafsma | set | recipients:
+ pschaafsma |
2012-10-14 14:30:17 | pschaafsma | set | messageid: <1350225017.39.0.976217955919.issue16231@psf.upfronthosting.co.za> |
2012-10-14 14:30:17 | pschaafsma | link | issue16231 messages |
2012-10-14 14:30:17 | pschaafsma | create | |
|