[issue42443] Provide Thread creation hook support

2020-12-16 Thread Piotr Stanczyk
Piotr Stanczyk added the comment: Friendly ping - does the proposal sound fine? -- ___ Python tracker <https://bugs.python.org/issue42443> ___ ___ Python-bug

[issue42443] Provide Thread creation hook support

2020-11-23 Thread Piotr Stanczyk
New submission from Piotr Stanczyk : For monitoring purposes we would like to have a way of registering newly created Python threads with a runtime. For that reason we ask to add a thread creation hook inside threading.py. There are 2 similar hooks already (_profile_hook and _trace_hook

[issue42443] Provide Thread creation hook support

2020-11-24 Thread Piotr Stanczyk
Piotr Stanczyk added the comment: Thanks Christian for looking into this, please find my responses inlined: > * IMO it should be called after profiling and tracing hook, so non-trivial > hooks can be profiled and traced. Makes sense, Done. > * It's important to define and d