[New-bugs-announce] [issue46649] Propagate Python thread name to thread state structure

Gabriele N Tornetta report at bugs.python.org
Sat Feb 5 08:07:42 EST 2022


New submission from Gabriele N Tornetta <phoenix1987 at gmail.com>:

For tools like Austin (https://github.com/P403n1x87/austin) it is currently quite challenging to derive the name of a thread based on the information exposed by the PyThreadState structure and one stored in threading._active. I would like to propose propagating the thread name from the Thread object to the PyThreadState structure so that profiling information from tools like Austin could easily be enriched with the names of each sampled thread.

----------
components: C API
messages: 412569
nosy: Gabriele Tornetta
priority: normal
severity: normal
status: open
title: Propagate Python thread name to thread state structure
type: enhancement
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46649>
_______________________________________


More information about the New-bugs-announce mailing list