Browse Source
bpo-28129: fix ctypes crashes (#386)
bpo-28129: fix ctypes crashes (#386)
* init commit, with initial tests for from_param and fields __set__ and __get__, and some additions to from_buffer and from_buffer_copy * added the rest of tests and patches. probably only a first draft. * removed trailing spaces * replace ctype with ctypes in error messages * change back from ctypes instance to ctype instancepull/403/head
committed by
Victor Stinner
7 changed files with 87 additions and 9 deletions
-
9Lib/ctypes/test/test_frombuffer.py
-
5Lib/ctypes/test/test_funcptr.py
-
10Lib/ctypes/test/test_parameters.py
-
5Lib/ctypes/test/test_pointers.py
-
24Lib/ctypes/test/test_struct_fields.py
-
31Modules/_ctypes/_ctypes.c
-
12Modules/_ctypes/cfield.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue