This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Julian2
Recipients Carl.Friedrich.Bolz, Julian, Julian2, vstinner
Date 2021-02-15.16:58:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CABJQSknDH0JRR0LWMGbCf55fRtEvBdJZhTx58StZt4c9wcnwuw@mail.gmail.com>
In-reply-to <1612867111.04.0.454681290392.issue43148@roundup.psfhosted.org>
Content
Thanks Victor. Yes likely happy to send a PR (have to clear a few things
off the yak stack first)

On Tue, Feb 9, 2021 at 5:38 AM STINNER Victor <report@bugs.python.org>
wrote:

>
> STINNER Victor <vstinner@python.org> added the comment:
>
> It makes sense to call _PyErr_WriteUnraisableMsg() when sys.excepthook
> raise a new exception. Do you want to propose a PR for that?
>
> sys.excepthook documentation mentions sys.unraisablehook:
> https://docs.python.org/dev/library/sys.html#sys.excepthook
>
> threading._make_invoke_excepthook logs threading.excepthook failure using
> sys.excepthook.
>
> Note: Carl also suggested to add a way to invoke sys.unraisablehook
> explicitly, not only for testing purpose. It would help in some cases.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue43148>
> _______________________________________
>
History
Date User Action Args
2021-02-15 16:58:07Julian2setrecipients: + Julian2, vstinner, Carl.Friedrich.Bolz
2021-02-15 16:58:07Julian2linkissue43148 messages
2021-02-15 16:58:07Julian2create