cpython/Misc/NEWS.d/next
Victor Stinner 4cce1352bb
bpo-46323: _ctypes.CFuncPtr fails if _argtypes_ is too long (GH-31188)
ctypes.CFUNCTYPE() and ctypes.WINFUNCTYPE() now fail to create the
type if its "_argtypes_" member contains too many arguments.
Previously, the error was only raised when calling a function.

Change also how CFUNCTYPE() and WINFUNCTYPE() handle KeyError to
prevent creating a chain of exceptions if ctypes.CFuncPtr raises an
error.
2022-02-07 14:53:15 +01:00
..
Build bpo-46640: Py_NAN now uses the C99 NAN constant (GH-31134) 2022-02-06 13:13:04 +01:00
C API Python 3.11.0a5 2022-02-03 18:37:08 +00:00
Core and Builtins bpo-40479: Fix undefined behavior in Modules/_hashopenssl.c (GH-31153) 2022-02-06 23:40:54 -08:00
Documentation Python 3.11.0a5 2022-02-03 18:37:08 +00:00
IDLE Merge remote-tracking branch 'upstream/main' 2022-02-03 22:56:59 +00:00
Library bpo-46323: _ctypes.CFuncPtr fails if _argtypes_ is too long (GH-31188) 2022-02-07 14:53:15 +01:00
Security Python 3.11.0a1 2021-10-05 13:44:05 +01:00
Tests Python 3.11.0a5 2022-02-03 18:37:08 +00:00
Tools-Demos Python 3.11.0a1 2021-10-05 13:44:05 +01:00
Windows Python 3.11.0a5 2022-02-03 18:37:08 +00:00
macOS Python 3.11.0a5 2022-02-03 18:37:08 +00:00