Serhiy Storchaka added the comment: > 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.
But we can't guarantee that this alway will be so. Other stdlib modules can register picklers, and IDLE can import them in future. This code is not protected against future changes in other places of the code. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21986> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com