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

Note that str() for UUIDs already returns the hexadecimal representation, just 
with minuses.

I don't see large usability difference between 'uuid={:x}'.format(u) and 
'uuid={.hex}'.format(u). And in many case 'uuid={}'.format(u) is appropriate as 
well.

----------

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

  • ... fcurella
    • ... fcurella
    • ... Serhiy Storchaka
    • ... Ronald Oussoren
    • ... fcurella
    • ... Serhiy Storchaka
    • ... శ్రీనివాస్ రెడ్డి తాటిపర్తి
    • ... Mark Dickinson
    • ... Serhiy Storchaka
    • ... fcurella
    • ... Mark Dickinson
    • ... fcurella

Reply via email to