[New-bugs-announce] [issue42552] Automatically set parent thread idents on thread start

gaborjbernat report at bugs.python.org
Thu Dec 3 04:49:23 EST 2020


New submission from gaborjbernat <gaborjbernat at gmail.com>:

I want to request automatically adding the current thread ident on the thread start as parent_ident. I would like this to be able to implement thread-local variables that inherit their values from the parent thread. See https://gist.github.com/gaborbernat/67b653f1d3ce4857a065a3bd81e424df#file-thread_inheritence_sol_1-py-L1 for such an example.

----------
messages: 382398
nosy: gaborjbernat
priority: normal
severity: normal
status: open
title: Automatically set parent thread idents on thread start
versions: Python 3.10, Python 3.9

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


More information about the New-bugs-announce mailing list