cpython/Modules/_ctypes
Victor Stinner 8b83687bdf bpo-28129: fix ctypes crashes (#386) (#3800)
* 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 instance

(cherry picked from commit 1bea762d9e)
2017-09-28 07:31:40 -07:00
..
darwin Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
libffi Issue #23943: Fix typos. Patch by Piotr Kasprzyk. 2016-07-28 03:04:04 +00:00
libffi_arm_wince Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
libffi_msvc Issue #20160: Handled passing of large structs to callbacks correctly. 2016-08-05 21:10:26 +01:00
libffi_osx Issue #24381: Avoid unused function warning when building bundled macOS libffi. 2016-10-20 15:41:11 -04:00
_ctypes.c bpo-28129: fix ctypes crashes (#386) (#3800) 2017-09-28 07:31:40 -07:00
_ctypes_test.c Issue #20160: Handled passing of large structs to callbacks correctly. 2016-08-05 21:10:26 +01:00
_ctypes_test.h Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
callbacks.c ctypes: fix CThunkObject_new() 2016-07-27 16:58:47 +02:00
callproc.c Issue #29082: Fixed loading libraries in ctypes by unicode names on Windows. 2017-01-12 17:00:32 +02:00
cfield.c bpo-28129: fix ctypes crashes (#386) (#3800) 2017-09-28 07:31:40 -07:00
ctypes.h consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563) 2017-09-13 21:20:29 -07:00
ctypes_dlfcn.h Remove PEP 291 compatibility requirements for ctypes and modulefinder 2016-05-14 07:25:37 +00:00
libffi.diff - Issue #22176: Update the ctypes module's libffi to v3.1. This release 2014-08-10 11:15:28 +02:00
malloc_closure.c Remove PEP 291 compatibility requirements for ctypes and modulefinder 2016-05-14 07:25:37 +00:00
stgdict.c [2.7] bpo-31490: Fix an assertion failure in ctypes in case an _anonymous_ attr is defined only outside _fields_. (GH-3615) (#3780) 2017-09-27 09:52:44 +03:00