Ethan Furman <et...@stoneleaf.us> added the comment:

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__`.

----------

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

Reply via email to