summaryrefslogtreecommitdiffstats
path: root/Lib/ctypes
Commit message (Collapse)AuthorAgeFilesLines
* Issue #27355: Import no longer neededMartin Panter2016-09-061-1/+1
|
* Issue #27355: Removed support for Windows CE. It was never finished,Larry Hastings2016-09-055-35/+15
| | | | and Windows CE is no longer a relevant platform for Python.
* Closes #9998: Allowed find_library to search additional locations for libraries.Vinay Sajip2016-08-172-1/+68
|
* Closes #20160: Merged fix from 3.5.Vinay Sajip2016-08-051-0/+35
|\
| * Issue #20160: Merged fix from 3.4.Vinay Sajip2016-08-051-0/+35
| |\
| | * Issue #20160: Merged fix from 3.3.Vinay Sajip2016-08-051-0/+35
| | |\
| | | * Issue #20160: Handled passing of large structs to callbacks correctly.Vinay Sajip2016-08-051-0/+35
| | | |
* | | | Issue #27626: Merge spelling fixes from 3.5Martin Panter2016-07-282-2/+2
|\ \ \ \ | |/ / /
| * | | Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-282-2/+2
| | | | | | | | | | | | | | | | Based on patch by Ville Skyttä.
* | | | Backed out changeset af29d89083b3 (closes #25548) (closes #27498)Benjamin Peterson2016-07-141-5/+5
| | | |
* | | | Issue #27343: Fixed error message for conflicting initializers of ↵Serhiy Storchaka2016-06-181-3/+3
|\ \ \ \ | |/ / / | | | | | | | | ctypes.Structure.
| * | | Issue #27343: Fixed error message for conflicting initializers of ↵Serhiy Storchaka2016-06-181-3/+3
| | | | | | | | | | | | | | | | ctypes.Structure.
* | | | Issue #22636: Merge ctypes.util from 3.5Martin Panter2016-06-141-19/+35
|\ \ \ \ | |/ / /
| * | | Issue #22636: Handle OSError from subprocess, e.g. if command not foundMartin Panter2016-06-141-19/+35
| | | |
* | | | Issue #22636: Merge ctypes.util shell injection fixes from 3.5Martin Panter2016-06-142-44/+82
|\ \ \ \ | |/ / /
| * | | Issue #22636: avoid using a shell in the ctypes.util moduleMartin Panter2016-06-142-44/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace os.popen() with subprocess.Popen. Based on patch by Victor Stinner. If the "gcc", "cc" or "objdump" command is not available, the code was supposed to raise an OSError exception. But there was a bug in the code. The shell code returns the exit code 10 if the required command is missing, and the code tries to check for the status 10. The problem is that os.popen() doesn't return the exit code directly, but a status which should be processed by os.WIFEXITED() and os.WEXITSTATUS(). In practice, the exception was never raised. The OSError exception was not documented and ctypes.util.find_library() is expected to return None if the library is not found.
* | | | Issue #25548: Showing memory address of class objects in replKushal Das2016-06-041-5/+5
| | | |
* | | | Issue #27125: Merge typo fixes from 3.5Martin Panter2016-05-301-1/+1
|\ \ \ \ | |/ / /
| * | | Issue #27125: Remove duplicated words from documentation and commentsMartin Panter2016-05-301-1/+1
| | | |
* | | | Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode.Serhiy Storchaka2016-05-241-3/+3
| | | | | | | | | | | | | | | | Patch by Demur Rumed.
* | | | Issue #25533: Merge frozen module docs from 3.5Martin Panter2016-05-151-5/+6
|\ \ \ \ | |/ / /
| * | | Issue #25533: Update documentation regarding the frozen modules tableMartin Panter2016-05-151-5/+6
| | | | | | | | | | | | | | | | | | | | * "ctypes" documentation was using Python 2 bytes-str equivalence. * PyImport_FrozenModules is a pointer to const as of Python 3.4
* | | | Remove old Python 2 compatibility from ctypes testMartin Panter2016-05-141-5/+2
| | | |
* | | | Issue #24114: Fix an uninitialized variable in `ctypes.util`.Meador Inge2016-05-011-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | The bug only occurs on SunOS when the ctypes implementation searches for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by Kees Bos.
| * | | Issue #24114: Fix an uninitialized variable in `ctypes.util`.Meador Inge2016-05-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The bug only occurs on SunOS when the ctypes implementation searches for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by Kees Bos.
* | | | Remove more unused imports in tests.Serhiy Storchaka2016-04-242-2/+1
| | | |
* | | | Issue #23277: Remove unused imports in tests.Serhiy Storchaka2016-04-241-3/+3
| | | |
* | | | Issue #23277: Remove unused sys and os importsBerker Peksag2016-04-244-4/+2
| | | | | | | | | | | | | | | | Patch by Jon Dufresne.
* | | | Issue #21042: Revert Linux find_library() to return just filenameMartin Panter2016-03-172-25/+17
| | | | | | | | | | | | | | | | | | | | | | | | This reverts most of revision 3092cf163eb4. The change worked on x86 architectures, but did not work on ARM, probably due to extra ABI flags in the ldconfig output.
* | | | Issue #21042: Return full path in ctypes.util.find_library() on LinuxMartin Panter2016-03-102-18/+26
|/ / / | | | | | | | | | Patch by Tamás Bence Gedai.
* | | Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-101-2/+2
| | | | | | | | | | | | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear.
* | | Issue #19023: Document ctypes array and pointer classesMartin Panter2016-01-292-6/+15
| | | | | | | | | | | | Also add some more tests. Based on patch by Sye van der Veen.
* | | #24789: fix docstring of ctypes.create_string_buffer. Patch by Matheus ↵Ezio Melotti2016-01-091-1/+1
| | | | | | | | | | | | Vieira Portela.
* | | Issue #25622: Use repr(bytes) to avoid BytesWarningMartin Panter2015-11-261-1/+1
| | |
* | | Issue #25622: Merge ctypes test from 3.4 into 3.5Martin Panter2015-11-261-2/+1
|\ \ \ | |/ /
| * | Issue #25622: Rename to PythonValuesTestCase and enable for non-WindowsMartin Panter2015-11-261-2/+1
| | |
* | | Issue #25498: Update error message for 3.5Martin Panter2015-11-131-1/+1
| | |
* | | Issue #25498: Merge ctypes crash fix from 3.4 into 3.5Martin Panter2015-11-131-2/+29
|\ \ \ | |/ /
| * | Issue #25498: Fix GC crash due to ctypes objects wrapping a memoryviewMartin Panter2015-11-131-2/+29
| | | | | | | | | | | | | | | This was a regression caused by revision 1da9630e9b7f. Based on patch by Eryksun.
* | | Issue #25582: Fixed 100 MB memory leak in test_ctypes.Serhiy Storchaka2015-11-092-1/+15
|\ \ \ | |/ /
| * | Issue #25582: Fixed 100 MB memory leak in test_ctypes.Serhiy Storchaka2015-11-092-1/+15
| | |
* | | Issue #25523: Merge a-to-an corrections from 3.4.Serhiy Storchaka2015-11-021-1/+1
|\ \ \ | |/ /
| * | Issue #25523: Further a-to-an corrections.Serhiy Storchaka2015-11-021-1/+1
| | |
* | | 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.