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 mark.dickinson, pitrou, posita, rhettinger, serhiy.storchaka, tim.peters, vstinner
Date 2021-09-23.16:40:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632415220.18.0.614103340248.issue40346@roundup.psfhosted.org>
In-reply-to
Content
Matt, your example works in 3.11. In earlier versions you need to override the __new__ method.
History
Date User Action Args
2021-09-23 16:40:20serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, rhettinger, mark.dickinson, pitrou, vstinner, posita
2021-09-23 16:40:20serhiy.storchakasetmessageid: <1632415220.18.0.614103340248.issue40346@roundup.psfhosted.org>
2021-09-23 16:40:20serhiy.storchakalinkissue40346 messages
2021-09-23 16:40:20serhiy.storchakacreate