STINNER Victor <vstin...@python.org> added the comment:

> Ideally, I would prefer separate counters for different names

IMO if you want to go at the level of details, I suggest you to generate 
yourself thread names:

threads = [threading.Thread(name=f"MyThread-{i}") for i in range(1, 6)]

Maintaining a list of thread names sounds overkill to me. It would be quite 
complicated and would increase the memory footprint, for little benefit.

----------

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

Reply via email to