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 pierreglaser
Recipients alexandre.vassalotti, docs@python, pierreglaser, pitrou, rhettinger, serhiy.storchaka
Date 2019-02-08.09:34:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549618472.29.0.99843932044.issue35933@roundup.psfhosted.org>
In-reply-to
Content
Thanks Antoine and Raymond for the feedback.

Indeed, a subclass of a slotted class can have a dict: I enriched the script, pickling_depickling instances of such subclasses, with the length-2 tuple __getstate__ method, and made sure their attributes were properly retrieved.

Apart from the different checks on state carried out in the c load_build and the python load_build, AFAICT, it seems like this feature works :)
History
Date User Action Args
2019-02-08 09:34:34pierreglasersetrecipients: + pierreglaser, rhettinger, pitrou, alexandre.vassalotti, docs@python, serhiy.storchaka
2019-02-08 09:34:32pierreglasersetmessageid: <1549618472.29.0.99843932044.issue35933@roundup.psfhosted.org>
2019-02-08 09:34:32pierreglaserlinkissue35933 messages
2019-02-08 09:34:32pierreglasercreate