summaryrefslogtreecommitdiffstats
path: root/Lib/ctypes
Commit message (Collapse)AuthorAgeFilesLines
* Fix test_from_dll* in test_returnfuncptrs.py.Serhiy Storchaka2013-02-071-5/+4
|\
| * Fix test_from_dll* in test_returnfuncptrs.py.Serhiy Storchaka2013-02-071-5/+4
| |\
| | * Fix test_from_dll* in test_returnfuncptrs.py.Serhiy Storchaka2013-02-071-5/+4
| | |
* | | Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.Serhiy Storchaka2013-02-041-1/+4
|\ \ \ | |/ /
| * | Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.Serhiy Storchaka2013-02-041-1/+4
| |\ \ | | |/
| | * Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.Serhiy Storchaka2013-02-041-1/+4
| | |
* | | Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTupleSerhiy Storchaka2013-02-041-0/+28
|\ \ \ | |/ / | | | | | | parses nested mutating sequence.
| * | Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTupleSerhiy Storchaka2013-02-041-0/+28
| |\ \ | | |/ | | | | | | parses nested mutating sequence.
| | * Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTupleSerhiy Storchaka2013-02-041-0/+28
| | | | | | | | | | | | parses nested mutating sequence.
* | | merge 3.3 (#5289)Benjamin Peterson2013-02-041-0/+29
|\ \ \ | |/ /
| * | fix find_library on Solaris (closes #5289)Benjamin Peterson2013-02-041-0/+29
| | |
* | | Issue #17041: Fix testing when Python is configured with theSerhiy Storchaka2013-01-271-1/+4
|\ \ \ | |/ / | | | | | | --without-doc-strings.
| * | Issue #17041: Fix testing when Python is configured with theSerhiy Storchaka2013-01-271-1/+4
| |\ \ | | |/ | | | | | | --without-doc-strings.
| | * Issue #17041: Fix testing when Python is configured with theSerhiy Storchaka2013-01-271-1/+4
| | | | | | | | | | | | --without-doc-strings.
| * | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-191-0/+9
| |\ \ | | |/ | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
| | * Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-191-0/+9
| | | | | | | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
* | | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-141-0/+9
| | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks.
* | | Issue #16719: Get rid of WindowsError. Use OSError insteadAndrew Svetlov2012-12-193-5/+5
|/ / | | | | | | Patch by Serhiy Storchaka.
* | Issue #16169: Fix ctypes.WinError()'s confusion between errno and winerrorRichard Oudkerk2012-10-092-1/+23
| |
* | Issue #15406: Fix deprecation warning in ctypes test_bitfields.pyMeador Inge2012-07-201-4/+4
|\ \ | |/ | | | | Patch by Flávio Ribeiro.
| * Issue #15406: Fix deprecation warning in ctypes test_bitfields.pyMeador Inge2012-07-201-4/+4
| | | | | | | | Patch by Flávio Ribeiro.
* | Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows.Meador Inge2012-07-191-0/+20
|\ \ | |/
| * Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows.Meador Inge2012-07-191-0/+20
| |
* | Issue #15118: Change return value of os.uname() and os.times() fromLarry Hastings2012-06-242-3/+3
| | | | | | | | | | plain tuples to immutable iterable objects with named attributes (structseq objects).
* | Issue #9041: raised exception is misleadingMeador Inge2012-05-281-0/+10
|\ \ | |/ | | | | | | | | An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that caused an incorrect exception to be returned in the case of overflow has been fixed.
| * Issue #9041: raised exception is misleadingMeador Inge2012-05-281-0/+10
| | | | | | | | | | | | An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that caused an incorrect exception to be returned in the case of overflow has been fixed.
| * Issue #13979: Fix ctypes.util.find_library ldconfig regexMeador Inge2012-02-141-18/+1
| |
* | Issue #13959: Deprecate imp.get_suffixes() for new attributes onBrett Cannon2012-05-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | importlib.machinery that provide the suffix details for import. The attributes were not put on imp so as to compartmentalize everything importlib needs for setting up imports in importlib.machinery. This also led to an indirect deprecation of inspect.getmoduleinfo() as it directly returned imp.get_suffix's returned tuple which no longer makes sense.
* | - Issue #10181: New memoryview implementation fixes multiple ownershipStefan Krah2012-02-251-36/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and lifetime issues of dynamically allocated Py_buffer members (#9990) as well as crashes (#8305, #7433). Many new features have been added (See whatsnew/3.3), and the documentation has been updated extensively. The ndarray test object from _testbuffer.c implements all aspects of PEP-3118, so further development towards the complete implementation of the PEP can proceed in a test-driven manner. Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review and many ideas. - Issue #12834: Fix incorrect results of memoryview.tobytes() for non-contiguous arrays. - Issue #5231: Introduce memoryview.cast() method that allows changing format and shape without making a copy of the underlying memory.
* | Issue #12142: Fixed reference cycle when importing ctypesMeador Inge2012-02-051-1/+1
|\ \ | |/
| * Issue #12142: Fixed reference cycle when importing ctypesMeador Inge2012-02-051-1/+1
| |
* | Issue #13380: add an internal function for resetting the ctypes cachesMeador Inge2011-11-263-9/+18
|\ \ | |/
| * Issue #13380: add an internal function for resetting the ctypes cachesMeador Inge2011-11-263-9/+18
| |
* | Issue #12881: ctypes: Fix segfault with large structure field names.Meador Inge2011-10-041-0/+12
|\ \ | |/
| * Issue #12881: ctypes: Fix segfault with large structure field names.Meador Inge2011-10-041-0/+12
| |
* | test_ctypes: Windows is no more a special caseVictor Stinner2011-09-281-6/+3
| |
* | Remove trailing spacesAmaury Forgeot d'Arc2011-09-121-1/+1
| |
* | Merge 3.2: Issue #12483: ctypes: Fix a crash when the destruction of a callbackAmaury Forgeot d'Arc2011-09-121-0/+8
|\ \ | |/ | | | | object triggers the garbage collector.
| * Issue #12483: ctypes: Fix a crash when the destruction of a callbackAmaury Forgeot d'Arc2011-09-121-0/+8
| | | | | | | | object triggers the garbage collector.
* | Merge from 3.2: Issue #12764: Fix a crash in ctypes when the name of aAmaury Forgeot d'Arc2011-09-021-0/+8
|\ \ | |/ | | | | Structure field is not a string.
| * Issue #12764: Fix a crash in ctypes when the name of a Structure field is notAmaury Forgeot d'Arc2011-09-021-0/+8
| | | | | | | | a string.
* | Merge from 3.2:Amaury Forgeot d'Arc2011-08-302-0/+56
|\ \ | |/ | | | | | | - Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to file.write() - Issue #11241: subclasses of ctypes.Array can now be subclassed.
| * Issue #11241: subclasses of ctypes.Array can now be subclassed.Amaury Forgeot d'Arc2011-08-301-0/+52
| |
| * Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed toAmaury Forgeot d'Arc2011-08-301-0/+4
| | | | | | | | some functions like file.write().
* | Issue #12326: refactor usage of sys.platformVictor Stinner2011-08-201-3/+1
| | | | | | | | | | | | | | | | * Use str.startswith(tuple): I didn't know this Python feature, Python rocks! * Replace sometimes sys.platform.startswith('linux') with sys.platform == 'linux' * sys.platform doesn't contain the major version on Cygwin on Mac OS X (it's just 'cygwin' and 'darwin')
* | merge 3.2Benjamin Peterson2011-07-141-12/+12
|\ \ | |/
| * carefully cleanup pointer cache after creating struct pointersBenjamin Peterson2011-07-141-12/+12
| |
* | (merge 3.2) Close #4376: ctypes now supports nested structures in a endianVictor Stinner2011-07-132-18/+36
|\ \ | |/ | | | | different than the parent structure. Patch by Vlad Riscutia.
| * Close #4376: ctypes now supports nested structures in a endian different thanVictor Stinner2011-07-132-18/+36
| | | | | | | | the parent structure. Patch by Vlad Riscutia.
* | Issue #12045: Avoid duplicate execution of command in ctypes.util._get_soname().Antoine Pitrou2011-05-251-3/+1
| | | | | | | | Patch by Sijin Joseph.