summaryrefslogtreecommitdiffstats
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-05-27 23:00:01 (GMT)
committerGitHub <noreply@github.com>2020-05-27 23:00:01 (GMT)
commit9e3c583954f75a6396d1935e000df85d89b78a3d (patch)
tree56c191b0ca8de9ab8a55ff5720c6a047f0b0b4e1 /Python/Python-ast.c
parentbe240b857154078617cdd68fc63d1e48549e7a0b (diff)
downloadcpython-9e3c583954f75a6396d1935e000df85d89b78a3d.zip
cpython-9e3c583954f75a6396d1935e000df85d89b78a3d.tar.gz
cpython-9e3c583954f75a6396d1935e000df85d89b78a3d.tar.bz2
bpo-40795: ctypes calls unraisablehook with an exception (GH-20452)
If ctypes fails to convert the result of a callback or if a ctypes callback function raises an exception, sys.unraisablehook is now called with an exception set. Previously, the error was logged into stderr by PyErr_Print(). (cherry picked from commit 10228bad0452d94e66c964b625a0b61befa08e59) Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions