commit | ba7a99ddb52a45c8dec1f7e9f1648add0ace82ab | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Sat Jan 30 01:46:44 2021 +0100 |
committer | GitHub <noreply@github.com> | Sat Jan 30 01:46:44 2021 +0100 |
tree | 5a7b09325e6c2038ecc0a67e9354baf3ad7bc044 | |
parent | 7fdab8331b90e1ffcedef05a006b6e72457b793a [diff] |
bpo-38631: Replace compiler fatal errors with exceptions (GH-24369) * Replace Py_FatalError() calls with regular SystemError exceptions. * compiler_exit_scope() calls _PyErr_WriteUnraisableMsg() to log the PySequence_DelItem() failure. * compiler_unit_check() uses _PyMem_IsPtrFreed(). * compiler_make_closure(): remove "(reftype == FREE)" comment since reftype can also be LOCAL or GLOBAL_EXPLICIT.