[issue42443] Provide Thread creation hook support

2021-05-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: > > * IMO it should be called after profiling and tracing hook, so non-trivial > > hooks can be profiled and traced. > Makes sense, Done. I updated the PR do this. (if your "Done" indicated you had done this somewhere, it appears you never pushed your

[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 ___ ___ Python-bugs-list

[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 document, which

[issue42443] Provide Thread creation hook support

2020-11-24 Thread Christian Heimes
Christian Heimes added the comment: Besindes tests, PR also needs documentation and a better definition how and when the hook is called. * IMO it should be called after profiling and tracing hook, so non-trivial hooks can be profiled and traced. * It's important to define and document,

[issue42443] Provide Thread creation hook support

2020-11-23 Thread Gregory P. Smith
Change by Gregory P. Smith : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42443] Provide Thread creation hook support

2020-11-23 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42443] Provide Thread creation hook support

2020-11-23 Thread Thomas Wouters
Change by Thomas Wouters : -- nosy: +gregory.p.smith, twouters ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42443] Provide Thread creation hook support

2020-11-23 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +22369 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23477 ___ Python tracker

[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).