]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38631: Avoid Py_FatalError() in PyCode_New() (GH-18215)
authorVictor Stinner <vstinner@python.org>
Mon, 27 Jan 2020 22:24:13 +0000 (23:24 +0100)
committerGitHub <noreply@github.com>
Mon, 27 Jan 2020 22:24:13 +0000 (23:24 +0100)
commita27831351873bd7eff10863353d475c29fb0d7bb
tree023e0360f5bc95bf5f856ec60a8a913061b2f2dc
parentd3a1de22705cc79d7e8a0f44c4f00255e58c8b20
bpo-38631: Avoid Py_FatalError() in PyCode_New() (GH-18215)

intern_strings() now raises a SystemError, rather than calling
Py_FatalError().

intern_string_constants() now reports exceptions to the caller,
rather than ignoring silently exceptions.
Objects/codeobject.c