summaryrefslogtreecommitdiffstats
path: root/Python/fileutils.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-01-30 00:46:44 (GMT)
committerGitHub <noreply@github.com>2021-01-30 00:46:44 (GMT)
commitba7a99ddb52a45c8dec1f7e9f1648add0ace82ab (patch)
tree5a7b09325e6c2038ecc0a67e9354baf3ad7bc044 /Python/fileutils.c
parent7fdab8331b90e1ffcedef05a006b6e72457b793a (diff)
downloadcpython-ba7a99ddb52a45c8dec1f7e9f1648add0ace82ab.zip
cpython-ba7a99ddb52a45c8dec1f7e9f1648add0ace82ab.tar.gz
cpython-ba7a99ddb52a45c8dec1f7e9f1648add0ace82ab.tar.bz2
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.
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions