Serhiy Storchaka added the comment: See also issue14350 and issue24900. Both will be solved by disabling pickling when tp_new is NULL (a part of proposed patch). So that I think the patch should be applied to all releases.
---------- type: enhancement -> behavior versions: +Python 2.7, Python 3.4, Python 3.6 Added file: http://bugs.python.org/file40373/pickle_restrictions_3.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