[issue35115] UUID objects can't be casted by `hex()`

fcurella report at bugs.python.org
Wed Oct 31 11:12:38 EDT 2018


fcurella <flavio.curella at gmail.com> added the comment:

I'm not sure what can be done to make UUIDs work with `hex()`. The only way I see is to add back something _like_ `__hex__`, but with a different name.

But in that case, I can see how the same arguments that were originally brought up against `__hex__` could apply to the new dunder method.

I'm closing the issue as 'wont fix'.

----------
resolution:  -> wont fix
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35115>
_______________________________________


More information about the Python-bugs-list mailing list