commit | 656c45ec9a9dc2e94cec199ebde553a6979e0e05 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Fri Jan 24 18:05:24 2020 +0100 |
committer | GitHub <noreply@github.com> | Fri Jan 24 18:05:24 2020 +0100 |
tree | 2730a56321dcf118b231d2f08d333381832b6090 | |
parent | 88704334e5262c6cd395a0809d4ef810f33f3ca5 [diff] |
bpo-38631: Avoid Py_FatalError() in GC collect() (GH-18164) collect() should not get an exception, but it does, logging the exception is enough. Override sys.unraisablehook to decide how to handle unraisable exceptions. Py_FatalError() should be avoided whenever possible.