summaryrefslogtreecommitdiffstats
path: root/Modules/_ctypes
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23338: Fixed formatting ctypes error messages on Cygwin.Serhiy Storchaka2015-04-041-2/+2
|\ | | | | | | Patch by Makoto Kato.
| * Issue #23338: Fixed formatting ctypes error messages on Cygwin.Serhiy Storchaka2015-04-041-2/+2
| | | | | | | | Patch by Makoto Kato.
* | Issue #23765: Remove IsBadStringPtr calls in ctypesSteve Dower2015-03-251-20/+4
| | | | | | | | Also renames a local to avoid warnings about shadowing
* | Silenced minor GCC warnings.Serhiy Storchaka2015-02-261-2/+3
| |
* | Issue #23450: Fixed possible integer overflows.Serhiy Storchaka2015-02-161-1/+1
| |
* | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integerSerhiy Storchaka2015-02-162-7/+14
|\ \ | |/ | | | | overflows. Added few missed PyErr_NoMemory().
| * Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integerSerhiy Storchaka2015-02-162-7/+14
| | | | | | | | overflows. Added few missed PyErr_NoMemory().
* | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-021-26/+31
|\ \ | |/ | | | | and PyObject_AsWriteBuffer().
| * Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-021-26/+31
| | | | | | | | and PyObject_AsWriteBuffer().
* | merge 3.4 (#23221)Benjamin Peterson2015-01-131-1/+1
|\ \ | |/
| * fix instances of consecutive articles (closes #23221)Benjamin Peterson2015-01-131-1/+1
| | | | | | | | Patch by Karan Goel.
* | Issue #22733: MSVC ffi_prep_args doesn't handle 64-bit arguments properlySteve Dower2014-12-171-9/+28
| |
* | merge 3.4Benjamin Peterson2014-11-061-4/+4
|\ \ | |/
| * fix test where sizeof(long) != sizeof(int)Benjamin Peterson2014-11-061-4/+4
| |
* | Issue #20160: broken ctypes calling convention on MSVC / 64-bit Windows ↵Steve Dower2014-11-065-12/+81
|\ \ | |/ | | | | (large structs) Patch by mattip
| * Issue #20160: broken ctypes calling convention on MSVC / 64-bit Windows ↵Steve Dower2014-11-055-12/+81
| | | | | | | | (large structs) Patch by mattip
* | Merge: #13096: Fix segfault in CTypes POINTER handling of large values.R David Murray2014-10-121-2/+8
|\ \ | |/
| * #13096: Fix segfault in CTypes POINTER handling of large values.R David Murray2014-10-121-2/+8
| | | | | | | | Patch by Meador Inge.
* | Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in ↵Antoine Pitrou2014-10-083-47/+2
|\ \ | |/ | | | | | | | | exception tracebacks. Initial patch by Mark Shannon.
| * Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in ↵Antoine Pitrou2014-10-083-47/+2
| | | | | | | | | | | | exception tracebacks. Initial patch by Mark Shannon.
* | Issue #22156: Fix some "comparison between signed and unsigned integers"Victor Stinner2014-08-151-1/+1
|/ | | | compiler warnings in the Modules/ subdirectory.
* - Issue #22176: Fix build failure on ARM with ↵doko@ubuntu.com2014-08-092-3/+26
| | | | -Werror=declaration-after-statement
* - Issue #22176: Add src/x86/win32.S for x86 libffi builds.doko@ubuntu.com2014-08-092-2/+2
|
* - Issue #22176: Update the ctypes module's libffi to v3.1. This releasedoko@ubuntu.com2014-08-09135-13698/+28236
| | | | | adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian architectures.
* Issue #22161: Conformed arguments type checks in ctype to actually supportedSerhiy Storchaka2014-08-092-25/+8
| | | | types. Corrected error messages about bytes arguments.
* support pep 3118 format strings for ctypes objects with nontrivial shapes ↵Benjamin Peterson2014-05-173-11/+61
| | | | | | (closes #10744) Patch by Matti Picus.
* merge 3.3 (#20946)Benjamin Peterson2014-03-161-3/+3
|\
| * fix ctypes test alignment assumptions (closes #20946)Benjamin Peterson2014-03-161-3/+3
| | | | | | | | Patch by Andreas Schwab.
* | Issue #20437: Fixed 22 potential bugs when deleting objects references.Serhiy Storchaka2014-02-091-12/+6
|\ \ | |/
| * Issue #20437: Fixed 21 potential bugs when deleting objects references.Serhiy Storchaka2014-02-091-12/+6
| |
* | Issue #19936: Restored executable bits for several libffi files.Serhiy Storchaka2014-01-234-0/+0
|\ \ | |/ | | | | These files have shebangs and executable bits in the libffi distribution.
| * Issue #19936: Restored executable bits for several libffi files.Serhiy Storchaka2014-01-234-0/+0
| | | | | | | | These files have shebangs and executable bits in the libffi distribution.
* | Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-162-0/+0
|\ \ | |/ | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts.
| * Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-162-0/+0
| | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
* | silence unused-value warnings in libffi's dlmalloc.cChristian Heimes2013-12-042-4/+40
| |
* | Issue #19437: Fix error handling of PyCArrayType_new(), don't decreases theVictor Stinner2013-11-181-1/+2
| | | | | | | | reference counter of stgdict after result stole a reference to it
* | Issue #19437: Fix error handling of CDataType_from_buffer()Victor Stinner2013-11-181-1/+0
| | | | | | | | KeepRef() decreases the reference counter of its 'keep' parameter on error
* | Fix compilation error under gcc of the ctypes module bundled libffi for arm.Gregory P. Smith2013-11-171-7/+7
|\ \ | |/ | | | | | | A variable was declared below the top of a block and one function was using a K&R C style function declaration!
| * Fix compilation error under gcc of the ctypes module bundled libffi for arm.Gregory P. Smith2013-11-171-7/+7
| | | | | | | | | | A variable was declared below the top of a block and one function was using a K&R C style function declaration!
* | Fix compiler warning on Windows 64 bit: _init_pos_args() result type isVictor Stinner2013-11-151-2/+2
| | | | | | | | Py_ssize_t, not int
* | Issue #19437: Fix ctypes, handle PyCData_GetContainer() and GetKeepedObjects()Victor Stinner2013-11-131-1/+19
| | | | | | | | failures
* | Issue #19437: Fix GetKeepedObjects() of ctypes, handle PyCData_GetContainer()Victor Stinner2013-11-131-1/+5
| | | | | | | | failure
* | Issue #19437: Fix PyCData_GetContainer() of ctypes, handle PyDict_New() failureVictor Stinner2013-11-131-0/+2
| |
* | Issue #19512, #19515: remove shared identifiers, move identifiers where theyVictor Stinner2013-11-071-1/+1
| | | | | | | | | | | | | | are used. Move also _Py_IDENTIFIER() defintions to the top in modified files to remove identifiers duplicated in the same file.
* | Issue #19512: add some common identifiers to only create common strings once,Victor Stinner2013-11-061-1/+1
| | | | | | | | | | | | | | instead of creating temporary Unicode string objects Add also more identifiers in pythonrun.c to avoid temporary Unicode string objets for the interactive interpreter.
* | Issue #19437: Fix PyCFuncPtrType constructor, handleVictor Stinner2013-10-311-0/+4
| | | | | | | | _ctypes_alloc_format_string() failure
* | Issue #19437: Fix PyCArrayType constructor, raise MemoryError on PyMem_Malloc()Victor Stinner2013-10-311-1/+3
| | | | | | | | failure
* | Issue #19437: Fix Array_subscript() of ctypes, handle Array_item() failureVictor Stinner2013-10-291-0/+4
| |
* | Issue #18408: Fix PyCStructUnionType_update_stgdict(), handleVictor Stinner2013-10-291-1/+3
| | | | | | | | _ctypes_alloc_format_string() failure
* | Issue #18408: Fix _ctypes_alloc_format_string(), raise MemoryError on memoryVictor Stinner2013-10-291-1/+3
| | | | | | | | allocation failure