summaryrefslogtreecommitdiffstats
path: root/Lib/ctypes
Commit message (Collapse)AuthorAgeFilesLines
* Merge 3.4 (ctypes)Victor Stinner2015-07-291-0/+28
|\
| * Issue #23319: Fix ctypes.BigEndianStructure, swap correctly bytes. PatchVictor Stinner2015-07-291-0/+28
| | | | | | | | written by Matthieu Gautier.
* | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl.Yury Selivanov2015-07-031-1/+1
| |
* | Issue #23911: Fix ctypes test on Windows.Zachary Ware2015-05-131-2/+2
| | | | | | | | Comparing equality of list and tuple is always False.
* | Issue #23911: Move path-based bootstrap code to a separate frozen module.Eric Snow2015-05-031-7/+12
| |
* | Closes #17202: Merge with 3.4Zachary Ware2015-04-131-1/+1
|\ \ | |/
| * Issue #17202: Add .bat to .hgeol to force them to CRLF.Zachary Ware2015-04-131-1/+1
| | | | | | | | | | Using LF can a script to fail if it tries to use a label that is split across 512 byte blocks. Who knows why.
* | Make some tests more frienly to MemoryError.Serhiy Storchaka2015-03-282-4/+14
|\ \ | |/ | | | | Free memory, unlock hanging threads.
| * Make some tests more frienly to MemoryError.Serhiy Storchaka2015-03-282-4/+14
| | | | | | | | Free memory, unlock hanging threads.
* | Issue #23765: Removed IsBadStringPtr calls in ctypesSteve Dower2015-03-261-8/+4
| |
* | Issue #23606: Temporarily suppress test for CRT name.Steve Dower2015-03-141-1/+3
| |
* | Issue #23606: Disable ctypes.util.find_library("c") on Windows so tests are ↵Steve Dower2015-03-101-1/+3
| | | | | | | | skipped while we figure out how best to approach the CRT change
* | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-021-17/+33
|\ \ | |/ | | | | and PyObject_AsWriteBuffer().
| * Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-021-17/+33
| | | | | | | | and PyObject_AsWriteBuffer().
* | Merge with 3.4 (#23256)Zachary Ware2015-01-171-1/+1
|\ \ | |/
| * Closes #23256: Avoid a crash in test_ctypesZachary Ware2015-01-171-1/+1
| | | | | | | | | | Only happened with oddly capitalized debug executables on Windows. Patch by Claudiu Popa.
* | Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-151-11/+9
|\ \ | |/
| * Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-151-11/+9
| |
* | Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), ↵Steve Dower2014-11-221-1/+5
| | | | | | | | which will be used for the official 3.5 release.
* | Issue #20160: broken ctypes calling convention on MSVC / 64-bit Windows ↵Steve Dower2014-11-061-3/+23
|\ \ | |/ | | | | (large structs) Patch by mattip
| * Issue #20160: broken ctypes calling convention on MSVC / 64-bit Windows ↵Steve Dower2014-11-051-3/+23
| | | | | | | | (large structs) Patch by mattip
* | #22732 ctypes tests don't set correct restype for intptr_t functionsSteve Dower2014-11-012-2/+8
| |
* | Merge: #13096: Fix segfault in CTypes POINTER handling of large values.R David Murray2014-10-121-0/+8
|\ \ | |/
| * #13096: Fix segfault in CTypes POINTER handling of large values.R David Murray2014-10-121-0/+8
| | | | | | | | Patch by Meador Inge.
* | Issue #22098: ctypes' BigEndianStructure and LittleEndianStructure now ↵Antoine Pitrou2014-08-292-0/+22
| | | | | | | | | | | | define an empty __slots__ so that subclasses don't always get an instance dict. Patch by Claudiu Popa.
* | Issue #22161: Conformed arguments type checks in ctype to actually supportedSerhiy Storchaka2014-08-094-3/+22
|\ \ | |/ | | | | types. Corrected error messages about bytes arguments.
| * Issue #22161: Conformed arguments type checks in ctype to actually supportedSerhiy Storchaka2014-08-094-3/+22
| | | | | | | | types. Corrected error messages about bytes arguments.
* | Closes #22060: Merge with 3.4Zachary Ware2014-08-087-291/+70
|\ \ | |/
| * Issue #22060: Clean up/simplify test_ctypes, use test discoveryZachary Ware2014-08-087-291/+70
| |
* | Merge with 3.4Zachary Ware2014-07-232-2/+5
|\ \ | |/
| * Issue #19493: Fix two uses of ctypes.test.requires (it's not a decorator)Zachary Ware2014-07-232-2/+5
| | | | | | | | | | and skip test_win32.FunctionCallTestCase.test_SEH when Python was compiled in debug configuration or by a non-MSC compiler.
* | Issue #22031: Reprs now always use hexadecimal format with the "0x" prefixSerhiy Storchaka2014-07-221-1/+1
|/ | | | when contain an id in form " at 0x...".
* Issue #21829: Fix running test_ctypes on Windows with -O or -OOZachary Ware2014-06-261-12/+3
|
* Issue #19493: Refactor ctypes test package.Zachary Ware2014-06-1332-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 Peterson2014-05-171-4/+10
| | | | | | (closes #10744) Patch by Matti Picus.
* Issue #21093: Prevent failures of ctypes test_macholib on OS X if aNed Deily2014-03-291-2/+5
| | | | copy of libz exists in $HOME/lib or /usr/local/lib.
* Issue #20976: pyflakes: Remove unused importsVictor Stinner2014-03-201-1/+1
|
* merge 3.3 (#20946)Benjamin Peterson2014-03-162-9/+9
|\
| * fix ctypes test alignment assumptions (closes #20946)Benjamin Peterson2014-03-162-9/+9
| | | | | | | | Patch by Andreas Schwab.
* | Issue #19734: ctypes resource management fixesNick Coghlan2013-11-241-6/+9
| |
* | Issue #19591: Use specific asserts in ctype tests.Serhiy Storchaka2013-11-1616-85/+84
|\ \ | |/
| * Issue #19591: Use specific asserts in ctype tests.Serhiy Storchaka2013-11-1616-85/+84
| |
* | #18981: merge with 3.3.Ezio Melotti2013-09-131-1/+1
|\ \ | |/
| * #18981: fix a typo in a comment (noticed by Anoop Thomas Mathew).Ezio Melotti2013-09-131-1/+1
| |
* | Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-1/+1
|\ \ | |/ | | | | error messages and comments.
| * Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-1/+1
| | | | | | | | error messages and comments.
* | #18741: merge with 3.3.Ezio Melotti2013-08-175-7/+7
|\ \ | |/
| * #18741: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-175-7/+7
| |
* | - Issue #17754: Make ctypes.util.find_library() independent of the locale.doko@ubuntu.com2013-05-151-1/+1
|\ \ | |/
| * - Issue #17754: Make ctypes.util.find_library() independent of the locale.doko@ubuntu.com2013-05-151-1/+1
| |