This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, ned.deily, theDarkBrainer
Date 2013-03-13.15:15:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363187718.41.0.66816972901.issue17408@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-03-13 15:15:18amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, ned.deily, theDarkBrainer
2013-03-13 15:15:18amaury.forgeotdarcsetmessageid: <1363187718.41.0.66816972901.issue17408@psf.upfronthosting.co.za>
2013-03-13 15:15:18amaury.forgeotdarclinkissue17408 messages
2013-03-13 15:15:18amaury.forgeotdarccreate