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 Arfrever, alexandre.vassalotti, barry, josh.r, pitrou, serhiy.storchaka
Date 2015-01-17.16:20:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421511624.12.0.555907317837.issue22995@psf.upfronthosting.co.za>
In-reply-to
Content
It is hard to write good tests, because every example is temporary, after adding support of pickling it will be not valid.

Here is extended patch. It now handles Python subclasses of builtin classes (except list and dict which are pickleable via iterators) such as socket.socket. Removed several guarding __getstate__() methods. Added few new tests.
History
Date User Action Args
2015-01-17 16:20:24serhiy.storchakasetrecipients: + serhiy.storchaka, barry, pitrou, alexandre.vassalotti, Arfrever, josh.r
2015-01-17 16:20:24serhiy.storchakasetmessageid: <1421511624.12.0.555907317837.issue22995@psf.upfronthosting.co.za>
2015-01-17 16:20:24serhiy.storchakalinkissue22995 messages
2015-01-17 16:20:22serhiy.storchakacreate