[issue36928] linkt threading.settrace to sys.settrace
New submission from Stefan Hölzl <stefan.la@posteo.de>: The documentation of sys.settrace suggest to call it from every created thread to enable tracing within threads. I would suggest to add a link to threading.settrace which automatically sets a trace function for every by threading module created thread. link to docs: https://docs.python.org/3.5/library/sys.html#sys.settrace https://docs.python.org/3.5/library/threading.html#threading.settrace ---------- assignee: docs@python components: Documentation messages: 342591 nosy: docs@python, stefanhoelzl priority: normal severity: normal status: open title: linkt threading.settrace to sys.settrace versions: Python 3.8, Python 3.9 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36928> _______________________________________
SilentGhost <ghost.adh@runbox.com> added the comment: Would you care to submit a PR implementing this fix? There are some guidelines available at https://devguide.python.org/pullrequest/ ---------- nosy: +SilentGhost stage: -> needs patch type: -> behavior versions: +Python 3.7 -Python 3.9 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36928> _______________________________________
Change by Stefan Hölzl <stefan.la@posteo.de>: ---------- keywords: +patch pull_requests: +13255 stage: needs patch -> patch review _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36928> _______________________________________
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- pull_requests: +13291 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36928> _______________________________________
Change by SilentGhost <ghost.adh@runbox.com>: ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36928> _______________________________________
Stéphane Wirtel <stephane@wirtel.be> added the comment: Thank you for your contribution ---------- nosy: +matrixise _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36928> _______________________________________
participants (4)
-
miss-islington -
SilentGhost -
Stefan Hölzl -
Stéphane Wirtel