[New-bugs-announce] [issue38466] threading.excepthook doc talks about "object"

Sebastian Rittau report at bugs.python.org
Sun Oct 13 11:40:26 EDT 2019


New submission from Sebastian Rittau <srittau at rittau.biz>:

The documentation of threading.excepthook (https://docs.python.org/3.8/library/threading.html#threading.excepthook) talks about "object", when it only has a "thread" attribute:

"Storing object using a custom hook can resurrect it if it is set to an object which is being finalized. Avoid storing object after the custom hook completes to avoid resurrecting objects."

I believe this is a copy and paste error from sys.unraisablehook.

----------
assignee: docs at python
components: Documentation
messages: 354588
nosy: docs at python, srittau, vstinner
priority: normal
severity: normal
status: open
title: threading.excepthook doc talks about "object"
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38466>
_______________________________________


More information about the New-bugs-announce mailing list