diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-05-27 22:56:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-27 22:56:36 (GMT) |
commit | 45ce0dbc4f8c68fe22ae97860faa8f2ec7faf27b (patch) | |
tree | dda2e1b4530621fb3f0d7e6f0c55d9efd1a45617 /Python/pystrcmp.c | |
parent | b5ecbf02e4dbdea6d1c9a6d7189137f76e70c073 (diff) | |
download | cpython-45ce0dbc4f8c68fe22ae97860faa8f2ec7faf27b.zip cpython-45ce0dbc4f8c68fe22ae97860faa8f2ec7faf27b.tar.gz cpython-45ce0dbc4f8c68fe22ae97860faa8f2ec7faf27b.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/pystrcmp.c')
0 files changed, 0 insertions, 0 deletions