cpython/Modules/_ctypes
Miss Islington (bot) 45ce0dbc4f
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 10228bad04)

Co-authored-by: Victor Stinner <vstinner@python.org>
2020-05-27 15:56:36 -07:00
..
darwin
libffi_osx Remove wording that could be deemed to be perjorative (GH-9287) 2018-09-13 21:17:40 -07:00
_ctypes.c bpo-16575: Disabled checks for union types being passed by value. (GH-17960) (GH-17964) 2020-01-12 11:41:07 +00:00
_ctypes_test.c bpo-16576: Add checks for bitfields passed by value to functions. (GH-17097) (GH-17223) 2019-11-18 14:29:15 +00:00
_ctypes_test.h
callbacks.c bpo-40795: ctypes calls unraisablehook with an exception (GH-20452) 2020-05-27 15:56:36 -07:00
callproc.c bpo-40795: ctypes calls unraisablehook with an exception (GH-20452) 2020-05-27 15:56:36 -07:00
cfield.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
ctypes.h [3.8] bpo-16575: Add checks for unions passed by value to functions. (GH-16799) (GH-17016) 2019-10-31 13:34:05 +00:00
ctypes_dlfcn.h Remove outdated PEP 291 compatibility requirement comment 2016-05-14 05:55:38 +00:00
malloc_closure.c bpo-36071 Add support for Windows ARM32 in ctypes/libffi (GH-12059) 2019-04-17 18:09:16 -07:00
stgdict.c [3.8] bpo-16575: Add checks for unions passed by value to functions. (GH-16799) (GH-17016) 2019-10-31 13:34:05 +00:00