classification
Title: linkt threading.settrace to sys.settrace
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.8, Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: SilentGhost, docs@python, matrixise, stefanhoelzl
Priority: normal Keywords: patch

Created on 2019-05-15 18:11 by stefanhoelzl, last changed 2019-05-17 09:05 by matrixise. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 13345 merged stefanhoelzl, 2019-05-15 18:14
PR 13380 merged miss-islington, 2019-05-17 08:55
Messages (3)
msg342591 - (view) Author: Stefan Hölzl (stefanhoelzl) * Date: 2019-05-15 18:11
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
msg342592 - (view) Author: SilentGhost (SilentGhost) * (Python triager) Date: 2019-05-15 18:13
Would you care to submit a PR implementing this fix? There are some guidelines available at https://devguide.python.org/pullrequest/
msg342695 - (view) Author: Stéphane Wirtel (matrixise) * (Python committer) Date: 2019-05-17 09:05
Thank you for your contribution
History
Date User Action Args
2019-05-17 09:05:15matrixisesetnosy: + matrixise
messages: + msg342695
2019-05-17 09:04:20SilentGhostsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-05-17 08:55:29miss-islingtonsetpull_requests: + pull_request13291
2019-05-15 18:14:16stefanhoelzlsetkeywords: + patch
stage: needs patch -> patch review
pull_requests: + pull_request13255
2019-05-15 18:13:48SilentGhostsetversions: + Python 3.7, - Python 3.9
nosy: + SilentGhost

messages: + msg342592

type: behavior
stage: needs patch
2019-05-15 18:11:23stefanhoelzlcreate