Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Matt, your example works in 3.11. In earlier versions you need to override the 
__new__ method.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40346>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to