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 josh.r
Recipients Antony.Lee, josh.r, pitrou, rhettinger, serhiy.storchaka, zach.ware
Date 2014-11-29.04:32:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1417235555.51.0.0486255152441.issue22955@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, solved it (I think). The bootstrapper used to import the Python and C versions of the module leaves sys.modules unpopulated (Does pickle itself may populate it when it finds no module of that name?). I added a setUp method to the unittest class for operator that explicitly sets sys.modules['operator'] to whichever version is being tested at the time so pickle's lookup works as expected. Is that the right solution? New patch uploaded with that change.
History
Date User Action Args
2014-11-29 04:32:35josh.rsetrecipients: + josh.r, rhettinger, pitrou, zach.ware, serhiy.storchaka, Antony.Lee
2014-11-29 04:32:35josh.rsetmessageid: <1417235555.51.0.0486255152441.issue22955@psf.upfronthosting.co.za>
2014-11-29 04:32:35josh.rlinkissue22955 messages
2014-11-29 04:32:35josh.rcreate