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 AlexWaygood, Spencer Brown, ariebovenberg, eric.smith, hynek, serhiy.storchaka, sobolevn
Date 2022-03-17.15:50:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647532208.9.0.861084327278.issue46382@roundup.psfhosted.org>
In-reply-to
Content
Sorry, the previous message was written via a phone because of blackout, so the formatting is a tine bit messy.

__slotnames__ is set in copyreg._slotnames(). If you want to keep a list of all slots you should save it in __slotnames__, either using copyreg._slotnames() directly or by duplicating its code.

But as for the original issue, I do not think that the current behavior is incorrect. At least it is consistent with the behavior of regular classes.
History
Date User Action Args
2022-03-17 15:50:08serhiy.storchakasetrecipients: + serhiy.storchaka, eric.smith, hynek, Spencer Brown, sobolevn, AlexWaygood, ariebovenberg
2022-03-17 15:50:08serhiy.storchakasetmessageid: <1647532208.9.0.861084327278.issue46382@roundup.psfhosted.org>
2022-03-17 15:50:08serhiy.storchakalinkissue46382 messages
2022-03-17 15:50:08serhiy.storchakacreate