cpython/Modules/_ctypes
Serhiy Storchaka 9d63ae5fe5
gh-129502: Fix handling errors in ctypes callbacks (GH-129504)
Unlikely errors in preparing arguments for ctypes callback are now
handled in the same way as errors raised in the callback of in converting
the result of the callback -- using sys.unraisablehook() instead of
sys.excepthook() and not setting sys.last_exc and other variables.
2025-01-31 15:30:19 +02:00
..
clinic gh-111178: Generate correct signature for most self converters (#128447) 2025-01-20 12:40:18 +01:00
_ctypes.c gh-129354: Use PyErr_FormatUnraisable() function (#129511) 2025-01-31 13:16:08 +01:00
_ctypes_test.c gh-125206: Bug in ctypes with old libffi is fixed (#125322) 2024-10-15 16:17:10 +00:00
_ctypes_test.h Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
_ctypes_test_generated.c.h gh-128889: Zero out memory ctypes for generated struct layout tests (GH-128944) 2025-01-21 16:29:02 +01:00
callbacks.c gh-129502: Fix handling errors in ctypes callbacks (GH-129504) 2025-01-31 15:30:19 +02:00
callproc.c gh-111178: fix UBSan failures in Modules/_ctypes (#129071) 2025-01-21 11:50:13 +01:00
cfield.c gh-111178: fix UBSan failures in Modules/_ctypes (#129071) 2025-01-21 11:50:13 +01:00
ctypes.h gh-129141: Fix build on gcc-9.4.0 (GH-129142) 2025-01-21 19:13:33 +01:00
malloc_closure.c gh-108765: Python.h no longer includes <unistd.h> (#108783) 2023-09-02 16:50:18 +02:00
stgdict.c gh-128911: Add PyImport_ImportModuleAttr() function (#128912) 2025-01-30 11:17:29 +00:00