Message184085
Reproduced on Linux.
The reason is in Objects/typeobject.c: import_copyreg() has a static cache of the copyreg module.
When the interpreter stops, the module is filled with None... but gets reused in the next instance.
Resetting this "mod_copyreg" variable to NULL fixes the issue.
pickle is also broken for the same reason. |
|
Date |
User |
Action |
Args |
2013-03-13 15:15:18 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, ned.deily, theDarkBrainer |
2013-03-13 15:15:18 | amaury.forgeotdarc | set | messageid: <1363187718.41.0.66816972901.issue17408@psf.upfronthosting.co.za> |
2013-03-13 15:15:18 | amaury.forgeotdarc | link | issue17408 messages |
2013-03-13 15:15:18 | amaury.forgeotdarc | create | |
|