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 ethan.furman
Recipients barry, eli.bendersky, ethan.furman, rmccampbell7, xtreak
Date 2020-09-15.22:15:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1600208137.29.0.229586369122.issue39587@roundup.psfhosted.org>
In-reply-to
Content
Yes, the change only considered types with their own copy of `__new__` to be actual data types, so in 3.6 `HexInt` was the recognized data type, but in 3.7+ it was `int` -- which also meant that HexEnum was considered a simple mix-in and its `__repr__` was used instead of `Enum.__repr__`.
History
Date User Action Args
2020-09-15 22:15:37ethan.furmansetrecipients: + ethan.furman, barry, eli.bendersky, rmccampbell7, xtreak
2020-09-15 22:15:37ethan.furmansetmessageid: <1600208137.29.0.229586369122.issue39587@roundup.psfhosted.org>
2020-09-15 22:15:37ethan.furmanlinkissue39587 messages
2020-09-15 22:15:37ethan.furmancreate