Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #19591: Use specific asserts in ctype tests. | Serhiy Storchaka | 2013-11-16 | 16 | -85/+84 |
| | |||||
* | #18981: fix a typo in a comment (noticed by Anoop Thomas Mathew). | Ezio Melotti | 2013-09-13 | 1 | -1/+1 |
| | |||||
* | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -1/+1 |
| | | | | error messages and comments. | ||||
* | #18741: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 5 | -7/+7 |
| | |||||
* | - Issue #17754: Make ctypes.util.find_library() independent of the locale. | doko@ubuntu.com | 2013-05-15 | 1 | -1/+1 |
| | |||||
* | #7855: Add tests for ctypes/winreg for issues found in IronPython. Initial ↵ | Ezio Melotti | 2013-05-04 | 2 | -1/+44 |
| | | | | patch by Dino Viehland. | ||||
* | Fix test_from_dll* in test_returnfuncptrs.py. | Serhiy Storchaka | 2013-02-07 | 1 | -5/+4 |
|\ | |||||
| * | Fix test_from_dll* in test_returnfuncptrs.py. | Serhiy Storchaka | 2013-02-07 | 1 | -5/+4 |
| | | |||||
* | | Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows. | Serhiy Storchaka | 2013-02-04 | 1 | -1/+4 |
|\ \ | |/ | |||||
| * | Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows. | Serhiy Storchaka | 2013-02-04 | 1 | -1/+4 |
| | | |||||
* | | Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple | Serhiy Storchaka | 2013-02-04 | 1 | -0/+28 |
|\ \ | |/ | | | | | parses nested mutating sequence. | ||||
| * | Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple | Serhiy Storchaka | 2013-02-04 | 1 | -0/+28 |
| | | | | | | | | parses nested mutating sequence. | ||||
* | | fix find_library on Solaris (closes #5289) | Benjamin Peterson | 2013-02-04 | 1 | -0/+29 |
| | | |||||
* | | Issue #17041: Fix testing when Python is configured with the | Serhiy Storchaka | 2013-01-27 | 1 | -1/+4 |
|\ \ | |/ | | | | | --without-doc-strings. | ||||
| * | Issue #17041: Fix testing when Python is configured with the | Serhiy Storchaka | 2013-01-27 | 1 | -1/+4 |
| | | | | | | | | --without-doc-strings. | ||||
* | | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 1 | -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 overflow | Serhiy Storchaka | 2013-01-19 | 1 | -0/+9 |
| | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
* | | Issue #16169: Fix ctypes.WinError()'s confusion between errno and winerror | Richard Oudkerk | 2012-10-09 | 2 | -1/+23 |
| | | |||||
* | | Issue #15406: Fix deprecation warning in ctypes test_bitfields.py | Meador Inge | 2012-07-20 | 1 | -4/+4 |
|\ \ | |/ | | | | | Patch by Flávio Ribeiro. | ||||
| * | Issue #15406: Fix deprecation warning in ctypes test_bitfields.py | Meador Inge | 2012-07-20 | 1 | -4/+4 |
| | | | | | | | | Patch by Flávio Ribeiro. | ||||
* | | Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows. | Meador Inge | 2012-07-19 | 1 | -0/+20 |
|\ \ | |/ | |||||
| * | Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows. | Meador Inge | 2012-07-19 | 1 | -0/+20 |
| | | |||||
* | | Issue #15118: Change return value of os.uname() and os.times() from | Larry Hastings | 2012-06-24 | 2 | -3/+3 |
| | | | | | | | | | | plain tuples to immutable iterable objects with named attributes (structseq objects). | ||||
* | | Issue #9041: raised exception is misleading | Meador Inge | 2012-05-28 | 1 | -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 misleading | Meador Inge | 2012-05-28 | 1 | -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 regex | Meador Inge | 2012-02-14 | 1 | -18/+1 |
| | | |||||
* | | Issue #13959: Deprecate imp.get_suffixes() for new attributes on | Brett Cannon | 2012-05-11 | 1 | -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 ownership | Stefan Krah | 2012-02-25 | 1 | -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 ctypes | Meador Inge | 2012-02-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #12142: Fixed reference cycle when importing ctypes | Meador Inge | 2012-02-05 | 1 | -1/+1 |
| | | |||||
* | | Issue #13380: add an internal function for resetting the ctypes caches | Meador Inge | 2011-11-26 | 3 | -9/+18 |
|\ \ | |/ | |||||
| * | Issue #13380: add an internal function for resetting the ctypes caches | Meador Inge | 2011-11-26 | 3 | -9/+18 |
| | | |||||
* | | Issue #12881: ctypes: Fix segfault with large structure field names. | Meador Inge | 2011-10-04 | 1 | -0/+12 |
|\ \ | |/ | |||||
| * | Issue #12881: ctypes: Fix segfault with large structure field names. | Meador Inge | 2011-10-04 | 1 | -0/+12 |
| | | |||||
* | | test_ctypes: Windows is no more a special case | Victor Stinner | 2011-09-28 | 1 | -6/+3 |
| | | |||||
* | | Remove trailing spaces | Amaury Forgeot d'Arc | 2011-09-12 | 1 | -1/+1 |
| | | |||||
* | | Merge 3.2: Issue #12483: ctypes: Fix a crash when the destruction of a callback | Amaury Forgeot d'Arc | 2011-09-12 | 1 | -0/+8 |
|\ \ | |/ | | | | | object triggers the garbage collector. | ||||
| * | Issue #12483: ctypes: Fix a crash when the destruction of a callback | Amaury Forgeot d'Arc | 2011-09-12 | 1 | -0/+8 |
| | | | | | | | | object triggers the garbage collector. | ||||
* | | Merge from 3.2: Issue #12764: Fix a crash in ctypes when the name of a | Amaury Forgeot d'Arc | 2011-09-02 | 1 | -0/+8 |
|\ \ | |/ | | | | | Structure field is not a string. | ||||
| * | Issue #12764: Fix a crash in ctypes when the name of a Structure field is not | Amaury Forgeot d'Arc | 2011-09-02 | 1 | -0/+8 |
| | | | | | | | | a string. | ||||
* | | Merge from 3.2: | Amaury Forgeot d'Arc | 2011-08-30 | 2 | -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'Arc | 2011-08-30 | 1 | -0/+52 |
| | | |||||
| * | Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to | Amaury Forgeot d'Arc | 2011-08-30 | 1 | -0/+4 |
| | | | | | | | | some functions like file.write(). | ||||
* | | Issue #12326: refactor usage of sys.platform | Victor Stinner | 2011-08-20 | 1 | -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.2 | Benjamin Peterson | 2011-07-14 | 1 | -12/+12 |
|\ \ | |/ | |||||
| * | carefully cleanup pointer cache after creating struct pointers | Benjamin Peterson | 2011-07-14 | 1 | -12/+12 |
| | | |||||
* | | (merge 3.2) Close #4376: ctypes now supports nested structures in a endian | Victor Stinner | 2011-07-13 | 2 | -18/+36 |
|\ \ | |/ | | | | | different than the parent structure. Patch by Vlad Riscutia. | ||||
| * | Close #4376: ctypes now supports nested structures in a endian different than | Victor Stinner | 2011-07-13 | 2 | -18/+36 |
| | | | | | | | | the parent structure. Patch by Vlad Riscutia. | ||||
* | | Issue #12045: Avoid duplicate execution of command in ctypes.util._get_soname(). | Antoine Pitrou | 2011-05-25 | 1 | -3/+1 |
| | | | | | | | | Patch by Sijin Joseph. | ||||
* | | Remove unused private function | Antoine Pitrou | 2011-04-23 | 1 | -16/+0 |
| | |