SIGN IN SIGN UP

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.
V
Victor Stinner committed
ba7a99ddb52a45c8dec1f7e9f1648add0ace82ab
Parent: 7fdab83
Committed by GitHub <noreply@github.com> on 1/30/2021, 12:46:44 AM