[issue22995] Restrict default pickleability

Serhiy Storchaka report at bugs.python.org
Mon Jan 11 12:50:03 EST 2016


Serhiy Storchaka added the comment:

Therefore my guess was true. There is a bug in Cython. It creates classes that can't be correctly unpickled or copied.

The question is wherever we should replace TypeError with a warning in maintained releases, or remove this check at all? Here is a patch against 3.5 that replaces TypeError with a warning.

----------
stage: resolved -> patch review
versions:  -Python 3.6
Added file: http://bugs.python.org/file41582/pickle_restrictions_warning-3.5.patch

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


More information about the Python-bugs-list mailing list