[issue21986] Idle: disable pickleability of user code objects

Terry J. Reedy report at bugs.python.org
Sat Oct 11 01:39:54 CEST 2014


Terry J. Reedy added the comment:

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.

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions:  -Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21986>
_______________________________________


More information about the Python-bugs-list mailing list