On Wed, May 15, 2019 at 6:25 PM Victor Stinner <vstinner at redhat.com> wrote: > I proposed a different approach: add a new sys.unraisablehook hook > which is called to handle an "unraisable exception". To handle them > differently, replace the hook. For example, I wrote a custom hook to > log these exceptions into a file (the output on the Python test suite > is interesting!). It also becomes trivial to reimplement Thomas's idea > (kill the process): What happens if the hook raises an exception? -n -- Nathaniel J. Smith -- https://vorpus.org
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4