[issue22995] Restrict default pickleability

Serhiy Storchaka report at bugs.python.org
Thu Nov 12 17:15:52 EST 2015


Serhiy Storchaka added the comment:

Was committed the restriction for tp_new == NULL.

New patch uses more complex condition for types that doesn't define any reduce-related methods. This case covers _csv.Dialect and memoryview (and buffer in 2.7, issue8323).

----------
Added file: http://bugs.python.org/file41024/pickle_restrictions_4.patch

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


More information about the Python-bugs-list mailing list