[New-bugs-announce] [issue36928] linkt threading.settrace to sys.settrace

Stefan Hölzl report at bugs.python.org
Wed May 15 14:11:23 EDT 2019


New submission from Stefan Hölzl <stefan.la at 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 at python
components: Documentation
messages: 342591
nosy: docs at 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 at bugs.python.org>
<https://bugs.python.org/issue36928>
_______________________________________


More information about the New-bugs-announce mailing list