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 Gabriele Tornetta
Recipients Gabriele Tornetta, vstinner
Date 2022-02-05.13:32:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644067935.41.0.938098852436.issue46649@roundup.psfhosted.org>
In-reply-to
Content
Thanks for mentioning that issue, it didn't come up in my search for a similar one. Indeed, with the proposals in bpo-15500 implemented, and the fact that native_thread_id is already in PyThreadState, retrieving the name should be easy and might make for a better implementation than what I'm proposing. Furthermore, doing this at the OS level would benefit an even larger set of tools. What pushed me to open this issue is the fact that this feature has been lacking for quite some time (indeed bpo-15500 dates back to 2012!), so I thought I'd propose a different approach in case it would get a quicker resolution this way.
History
Date User Action Args
2022-02-05 13:32:15Gabriele Tornettasetrecipients: + Gabriele Tornetta, vstinner
2022-02-05 13:32:15Gabriele Tornettasetmessageid: <1644067935.41.0.938098852436.issue46649@roundup.psfhosted.org>
2022-02-05 13:32:15Gabriele Tornettalinkissue46649 messages
2022-02-05 13:32:15Gabriele Tornettacreate