This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ammar2, serhiy.storchaka, vstinner
Date 2020-09-23.16:43:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1600879380.79.0.390731502184.issue41833@roundup.psfhosted.org>
In-reply-to
Content
Ideally, I would prefer separate counters for different names, and omitting a number for the first thread with unique name:

  doit
  doit-2
  Thread-1
  Thread-2
  print
  print-2
  doit-3

But it is not feasible. It would require supporting a cache which can grow with every new thread and non-trivial code to avoid race conditions. So I am fine with Ammar's idea.
History
Date User Action Args
2020-09-23 16:43:00serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, ammar2
2020-09-23 16:43:00serhiy.storchakasetmessageid: <1600879380.79.0.390731502184.issue41833@roundup.psfhosted.org>
2020-09-23 16:43:00serhiy.storchakalinkissue41833 messages
2020-09-23 16:43:00serhiy.storchakacreate