mirror of
https://github.com/python/cpython.git
synced 2025-10-26 19:24:34 +00:00
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. |
||
|---|---|---|
| .. | ||
| macholib | ||
| test | ||
| __init__.py | ||
| _aix.py | ||
| _endian.py | ||
| util.py | ||
| wintypes.py | ||