This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients scoder, serhiy.storchaka, vstinner
Date 2016-03-09.17:54:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457546091.31.0.14902545934.issue26519@psf.upfronthosting.co.za>
In-reply-to
Content
Cython 0.23.4 was released at 2015-10-10. The fix was applied 2016-01-16. Try to use Cython from trunk. May be this is not exactly the same bug and Cython needs other fix.

The change is deliberate. It helps to find existing bugs.

Except trivial case when your extension class has no any fields in additional to pickleable parent class, the class needs to provide some combinations of __getstate__, __setstate__, __getnewargs__/__getnewargs_ex__ and __reduce__/__reduce_ex__ to be pickleable. This was said in PEP 307. Previously you silently produced invalid pickle and got an exception or invalid object when unpickle it. Now you more likely get an exception at pickling time.
History
Date User Action Args
2016-03-09 17:54:51serhiy.storchakasetrecipients: + serhiy.storchaka, scoder, vstinner
2016-03-09 17:54:51serhiy.storchakasetmessageid: <1457546091.31.0.14902545934.issue26519@psf.upfronthosting.co.za>
2016-03-09 17:54:51serhiy.storchakalinkissue26519 messages
2016-03-09 17:54:51serhiy.storchakacreate