cpython/Lib/ctypes/test
Miss Islington (bot) 9e3c583954
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 16:00:01 -07:00
..
__init__.py
__main__.py
test_anon.py
test_array_in_pointer.py
test_arrays.py Use assertEqual(). (#13883) 2019-06-07 11:18:34 +02:00
test_as_parameter.py
test_bitfields.py bpo-27643 - skip test_ctypes test case with XLC compiler. (GH-5164) 2018-12-26 13:54:22 +10:00
test_buffers.py bpo-19865: ctypes.create_unicode_buffer() supports non-BMP strings on Windows (GH-14081) 2019-06-14 17:53:59 +02:00
test_bytes.py
test_byteswap.py
test_callbacks.py bpo-40795: ctypes calls unraisablehook with an exception (GH-20452) 2020-05-27 16:00:01 -07:00
test_cast.py
test_cfuncs.py
test_checkretval.py
test_delattr.py
test_errno.py
test_find.py
test_frombuffer.py
test_funcptr.py
test_functions.py
test_incomplete.py
test_init.py
test_internals.py
test_keeprefs.py
test_libc.py
test_loading.py bpo-40443: Remove unused imports in the stdlib (GH-19803) 2020-04-30 11:26:33 +02:00
test_macholib.py
test_memfunctions.py
test_numbers.py bpo-36048: Use __index__() instead of __int__() for implicit conversion if available. (GH-11952) 2019-02-25 17:57:58 +02:00
test_objects.py
test_parameters.py
test_pep3118.py
test_pickling.py
test_pointers.py
test_prototypes.py
test_python_api.py
test_random_things.py bpo-40795: ctypes calls unraisablehook with an exception (GH-20452) 2020-05-27 16:00:01 -07:00
test_refcounts.py
test_repr.py
test_returnfuncptrs.py
test_simplesubclasses.py
test_sizes.py
test_slicing.py
test_stringptr.py bpo-36253: Remove use after free reference in ctypes test suite (GH-12257) 2019-09-10 08:20:15 -07:00
test_strings.py bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. (GH-11175) 2018-12-17 16:52:45 +02:00
test_struct_fields.py
test_structures.py bpo-16575: Disabled checks for union types being passed by value. (GH-17960) 2020-01-12 08:54:00 +00:00
test_unaligned_structures.py bpo-40795: ctypes calls unraisablehook with an exception (GH-20452) 2020-05-27 16:00:01 -07:00
test_unicode.py
test_values.py bpo-36540: PEP 570 -- Implementation (GH-12701) 2019-04-29 13:36:57 +01:00
test_varsize_struct.py
test_win32.py bpo-35947: Update Windows to the current version of libffi (GH-11797) 2019-03-29 16:30:10 -07:00
test_wintypes.py