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 <>
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:18amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, ned.deily, theDarkBrainer
2013-03-13 15:15:18amaury.forgeotdarcsetmessageid: <>
2013-03-13 15:15:18amaury.forgeotdarclinkissue17408 messages
2013-03-13 15:15:18amaury.forgeotdarccreate