aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/getargs.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-05-28 00:38:12 +0200
committerGitHub <noreply@github.com>2020-05-28 00:38:12 +0200
commit10228bad0452d94e66c964b625a0b61befa08e59 (patch)
tree26a37fc4fd1292e754aff8e7d546365bf9af43a7 /Python/getargs.c
parente80697d687b610bd7fb9104af905dec8f0bc55a7 (diff)
downloadcpython-10228bad0452d94e66c964b625a0b61befa08e59.tar.gz
cpython-10228bad0452d94e66c964b625a0b61befa08e59.zip
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().
Diffstat (limited to 'Python/getargs.c')
0 files changed, 0 insertions, 0 deletions