19.07.20 22:17, Antoine Pitrou пише:
How about putting it in parentheses, to point more clearly that it can
most of the time be ignored:
<threading.BoundedSemaphore: 2/3 (at 0x7ff4c26b3eb0)>
It will just make the repr 2 characters longer and will not solve other
problems (that first and last digits of the identifier of different
objects usually are the same, and that the same identifier can be used
for different objects in different time).
_______________________________________________
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/MFQLJFTTORI7QV5JCBZPJ6WPFRPX2WLG/
Code of Conduct: http://python.org/psf/codeofconduct/