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 terry.reedy
Recipients Claudiu.Popa, kbk, loewis, pitrou, ppperry, python-dev, roger.serwy, serhiy.storchaka, terry.reedy
Date 2014-10-10.23:39:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412984394.21.0.449388216585.issue21986@psf.upfronthosting.co.za>
In-reply-to
Content
Code objects get wrapped in 3 tuple layers before being 'pickled', so a private dispatch is the easiet solution.  Since copyreg.dispatch_table has only two items to copy, I pushed a version of the first patch.  Since private dispatch tables are new in 3.3 and not in 2.7, I withdraw the idea of patching 2.7.
History
Date User Action Args
2014-10-10 23:39:54terry.reedysetrecipients: + terry.reedy, loewis, kbk, pitrou, roger.serwy, Claudiu.Popa, python-dev, serhiy.storchaka, ppperry
2014-10-10 23:39:54terry.reedysetmessageid: <1412984394.21.0.449388216585.issue21986@psf.upfronthosting.co.za>
2014-10-10 23:39:54terry.reedylinkissue21986 messages
2014-10-10 23:39:54terry.reedycreate