New submission from Sebastian Rittau <srit...@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@python
components: Documentation
messages: 354588
nosy: docs@python, srittau, vstinner
priority: normal
severity: normal
status: open
title: threading.excepthook doc talks about "object"
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38466>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to