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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22995>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to