[issue21986] Idle: disable pickleability of user code objects
Serhiy Storchaka
report at bugs.python.org
Sun Oct 12 13:14:48 CEST 2014
Serhiy Storchaka added the comment:
It would be good to add a test of rpc.dumps().
Current code copies copyreg.dispatch_table at the moment of rpc import. But it
can be changed later and these change will not affect private copy. For example
the re module adds pickleability of compiled regex patterns. I think the use
of ChainMap is more safe solution.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21986>
_______________________________________
More information about the Python-bugs-list
mailing list