Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #19493: Refactor ctypes test package. | Zachary Ware | 2014-06-13 | 32 | -746/+717 |
| | | | | | | | | | Skipped tests are now marked as skipped, formerly commented-out or renamed-so-it-doesn't-look-like-a-test tests are uncommented, properly named, and unconditionally skipped, some tests that simply didn't run before are now able to run, and a few are split into multiple methods instead of skipping via 'return' in the middle of a method. Also, a couple of unused files are removed completely. | ||||
* | support pep 3118 format strings for ctypes objects with nontrivial shapes ↵ | Benjamin Peterson | 2014-05-17 | 1 | -4/+10 |
| | | | | | | (closes #10744) Patch by Matti Picus. | ||||
* | Issue #21093: Prevent failures of ctypes test_macholib on OS X if a | Ned Deily | 2014-03-29 | 1 | -2/+5 |
| | | | | copy of libz exists in $HOME/lib or /usr/local/lib. | ||||
* | Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 1 | -1/+1 |
| | |||||
* | merge 3.3 (#20946) | Benjamin Peterson | 2014-03-16 | 2 | -9/+9 |
|\ | |||||
| * | fix ctypes test alignment assumptions (closes #20946) | Benjamin Peterson | 2014-03-16 | 2 | -9/+9 |
| | | | | | | | | Patch by Andreas Schwab. | ||||
* | | Issue #19734: ctypes resource management fixes | Nick Coghlan | 2013-11-24 | 1 | -6/+9 |
| | | |||||
* | | Issue #19591: Use specific asserts in ctype tests. | Serhiy Storchaka | 2013-11-16 | 16 | -85/+84 |
|\ \ | |/ | |||||
| * | Issue #19591: Use specific asserts in ctype tests. | Serhiy Storchaka | 2013-11-16 | 16 | -85/+84 |
| | | |||||
* | | #18981: merge with 3.3. | Ezio Melotti | 2013-09-13 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #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. | ||||
| * | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -1/+1 |
| | | | | | | | | error messages and comments. | ||||
* | | #18741: merge with 3.3. | Ezio Melotti | 2013-08-17 | 5 | -7/+7 |
|\ \ | |/ | |||||
| * | #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 |
|\ \ | |/ | |||||
| * | - Issue #17754: Make ctypes.util.find_library() independent of the locale. | doko@ubuntu.com | 2013-05-15 | 1 | -1/+1 |
| | | |||||
* | | #17115,17116: Have modules initialize the __package__ and __loader__ | Brett Cannon | 2013-05-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attributes to None. The long-term goal is for people to be able to rely on these attributes existing and checking for None to see if they have been set. Since import itself sets these attributes when a loader does not the only instances when the attributes are None are from someone overloading __import__() and not using a loader or someone creating a module from scratch. This patch also unifies module initialization. Before you could have different attributes with default values depending on how the module object was created. Now the only way to not get the same default set of attributes is to circumvent initialization by calling ModuleType.__new__() directly. | ||||
* | | #7855: merge with 3.3. | Ezio Melotti | 2013-05-04 | 2 | -1/+44 |
|\ \ | |/ | |||||
| * | #7855: Add tests for ctypes/winreg for issues found in IronPython. Initial ↵ | Ezio Melotti | 2013-05-04 | 2 | -1/+44 |
| | | | | | | | | patch by Dino Viehland. | ||||
* | | Issue #17516: use comment syntax for comments, instead of multiline string | Victor Stinner | 2013-03-26 | 3 | -51/+44 |
| | | |||||
* | | modernize some modules' code by replacing ↵ | Giampaolo Rodola' | 2013-02-12 | 1 | -3/+2 |
| | | | | | | | | OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.) | ||||
* | | 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 |
| |\ | |||||
| | * | 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 |
| |\ \ | | |/ | |||||
| | * | 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. | ||||
| | * | Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple | Serhiy Storchaka | 2013-02-04 | 1 | -0/+28 |
| | | | | | | | | | | | | parses nested mutating sequence. | ||||
* | | | merge 3.3 (#5289) | Benjamin Peterson | 2013-02-04 | 1 | -0/+29 |
|\ \ \ | |/ / | |||||
| * | | 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 #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 #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-14 | 1 | -0/+9 |
| | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. | ||||
* | | | Issue #16719: Get rid of WindowsError. Use OSError instead | Andrew Svetlov | 2012-12-19 | 3 | -5/+5 |
|/ / | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | 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. |