Ronald Oussoren <ronaldousso...@mac.com> added the comment:

IMHO implementing "__index__" for UUID would not the correct solution. That 
method is meant be used by integer-like objects. One of the side effects of 
implementing "__index__" is that indexing lists with UUID instances would start 
to work, which is IMHO not correct.

----------
nosy: +ronaldoussoren

_______________________________________
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