[issue21986] Idle: disable pickleability of user code objects

Terry J. Reedy report at bugs.python.org
Mon Oct 13 04:46:33 CEST 2014


Terry J. Reedy added the comment:

I agree that a test for dumps would be a good idea.  Ditto for hundreds of other untested functions.  I don't see this one as a priority.

PyShell imports non-idlelib modules, including re, before idlelib modules, such as rpc.  So the re addition is there, though I strongly doubt that compiled regexs are every sent to the user process.  Since about 10 different messages of different types are sent as part of startup, the fact that Idle does start is strong evidence that dumps and much of the rest of rpc is ok.  I would start a test of rpc by documenting the protocol and listing the messages types so at least one of each could be tested.

----------

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


More information about the Python-bugs-list mailing list