I think that if the other object is a string, trying to get a UUID
from it to compare UUIDs makes more sense than converting the UUID to
string and comparing strings. Several different strings are perfectly
fine for uniquely identifying the same UUID, so you seem to have
gotten this bit backward, as Tal Einat pointed out.

However, I strongly oppose automatic conversions, and, by proxy, this idea.
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/AHACOVSPOVRJ257P2XSPPDA7I6AKE5IJ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to