Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #29219: Fixed infinite recursion in the repr of uninitialized | Serhiy Storchaka | 2017-01-13 | 1 | -0/+4 |
|\ | | | | | | | ctypes.CDLL instances. | ||||
| * | Issue #29219: Fixed infinite recursion in the repr of uninitialized | Serhiy Storchaka | 2017-01-13 | 13 | -56/+97 |
| |\ | | | | | | | | | | ctypes.CDLL instances. | ||||
| * | | Issue #29219: Fixed infinite recursion in the repr of uninitialized | Serhiy Storchaka | 2017-01-13 | 1 | -0/+4 |
| | | | | | | | | | | | | ctypes.CDLL instances. | ||||
* | | | Issue #25659: Merge ctypes fix from 3.6 | Martin Panter | 2016-11-20 | 1 | -0/+8 |
|\ \ \ | | |/ | |/| | |||||
| * | | Issue #25659: Merge ctypes fix from 3.5 | Martin Panter | 2016-11-20 | 1 | -0/+8 |
| |\ \ | | |/ | |||||
| | * | Issue #25659: Change assert to TypeError in from_buffer/_copy() | Martin Panter | 2016-11-20 | 1 | -0/+8 |
| | | | | | | | | | | | | Based on suggestion by Eryk Sun. | ||||
* | | | Remove disabled test code | Martin Panter | 2016-11-05 | 1 | -4/+0 |
|/ / | | | | | | | | | Loading Unix libraries via getattr() was disabled before ctypes was added to Python. | ||||
* | | Merge test cleanup from 3.5 into 3.6 | Martin Panter | 2016-09-29 | 13 | -56/+97 |
|\ \ | |/ |/| | |||||
| * | Issue #18893: Merge from 3.5 | Berker Peksag | 2016-09-26 | 13 | -56/+97 |
| |\ | |||||
| | * | Issue #27355: Import no longer needed | Martin Panter | 2016-09-06 | 1 | -1/+1 |
| | | | |||||
| | * | Issue #27355: Removed support for Windows CE. It was never finished, | Larry Hastings | 2016-09-05 | 5 | -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 Sajip | 2016-08-17 | 2 | -1/+68 |
| | | | |||||
| | * | Closes #20160: Merged fix from 3.5. | Vinay Sajip | 2016-08-05 | 1 | -0/+35 |
| | |\ | |||||
| | * \ | Issue #27626: Merge spelling fixes from 3.5 | Martin Panter | 2016-07-28 | 2 | -2/+2 |
| | |\ \ | |||||
| | * | | | Backed out changeset af29d89083b3 (closes #25548) (closes #27498) | Benjamin Peterson | 2016-07-13 | 1 | -5/+5 |
| | | | | | |||||
| | * | | | Issue #27343: Fixed error message for conflicting initializers of ↵ | Serhiy Storchaka | 2016-06-18 | 9 | -22/+16 |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | ctypes.Structure. | ||||
| | | * \ \ | Issue #22636: Merge ctypes.util from 3.5 | Martin Panter | 2016-06-14 | 9 | -22/+16 |
| | | |\ \ \ | |||||
| | | | * \ \ | Issue #22636: Merge ctypes.util shell injection fixes from 3.5 | Martin Panter | 2016-06-14 | 2 | -44/+82 |
| | | | |\ \ \ | |||||
| | | | * | | | | Issue #25548: Showing memory address of class objects in repl | Kushal Das | 2016-06-04 | 1 | -5/+5 |
| | | | | | | | | |||||
| | | | * | | | | Issue #27125: Merge typo fixes from 3.5 | Martin Panter | 2016-05-30 | 9 | -19/+13 |
| | | | |\ \ \ \ | |||||
| | | | | * | | | | Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode. | Serhiy Storchaka | 2016-05-24 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Demur Rumed. | ||||
| | | | | * | | | | Issue #25533: Merge frozen module docs from 3.5 | Martin Panter | 2016-05-15 | 1 | -5/+6 |
| | | | | |\ \ \ \ | |||||
| | | | | * | | | | | Remove old Python 2 compatibility from ctypes test | Martin Panter | 2016-05-14 | 1 | -5/+2 |
| | | | | | | | | | | |||||
| | | | | * | | | | | Issue #24114: Fix an uninitialized variable in `ctypes.util`. | Meador Inge | 2016-04-30 | 7 | -11/+8 |
| | | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Storchaka | 2016-04-25 | 2 | -2/+1 |
| | | | | | | | | | | | |||||
| | | | | | * | | | | | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 1 | -3/+3 |
| | | | | | | | | | | | |||||
| | | | | | * | | | | | Issue #23277: Remove unused sys and os imports | Berker Peksag | 2016-04-24 | 4 | -4/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Jon Dufresne. | ||||
| | | | | | * | | | | | Issue #21042: Revert Linux find_library() to return just filename | Martin Panter | 2016-03-17 | 2 | -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 Linux | Martin Panter | 2016-03-10 | 2 | -18/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Tam?s Bence Gedai. | ||||
* | | | | | | | | | | | Remove disabled ctypes test | Martin Panter | 2016-09-29 | 1 | -24/+1 |
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test was commented out in 2005 before ctypes was added to Python, because the ?cdll? attribute loading feature ?will no longer work this way?: http://svn.python.org/view?view=revision&revision=49102 | ||||
* | | | | | | | | | | Issue #18893: Fix invalid exception handling in Lib/ctypes/macholib/dyld.py | Berker Peksag | 2016-09-26 | 1 | -2/+3 |
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Madison May. | ||||
* | | | | | | | | | Issue #20160: Merged fix from 3.4. | Vinay Sajip | 2016-08-05 | 1 | -0/+35 |
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | | |||||
| * | | | | | | | | Issue #20160: Merged fix from 3.3. | Vinay Sajip | 2016-08-05 | 1 | -0/+35 |
| |\ \ \ \ \ \ \ \ | |||||
| | * | | | | | | | | Issue #20160: Handled passing of large structs to callbacks correctly. | Vinay Sajip | 2016-08-05 | 1 | -0/+35 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Issue #27626: Spelling fixes in docs, comments and internal names | Martin Panter | 2016-07-28 | 2 | -2/+2 |
| |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Based on patch by Ville Skytt?. | ||||
* | | | | | | | | | Issue #27343: Fixed error message for conflicting initializers of ↵ | Serhiy Storchaka | 2016-06-18 | 1 | -3/+3 |
| |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | ctypes.Structure. | ||||
* | | | | | | | | Issue #22636: Handle OSError from subprocess, e.g. if command not found | Martin Panter | 2016-06-14 | 1 | -19/+35 |
| |_|_|_|_|_|/ |/| | | | | | | |||||
* | | | | | | | Issue #22636: avoid using a shell in the ctypes.util module | Martin Panter | 2016-06-14 | 2 | -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 #27125: Remove duplicated words from documentation and comments | Martin Panter | 2016-05-30 | 1 | -1/+1 |
| |_|_|_|/ |/| | | | | |||||
* | | | | | Issue #25533: Update documentation regarding the frozen modules table | Martin Panter | 2016-05-15 | 1 | -5/+6 |
| |_|/ / |/| | | | | | | | | | | | | | | | * "ctypes" documentation was using Python 2 bytes-str equivalence. * PyImport_FrozenModules is a pointer to const as of Python 3.4 | ||||
* | | | | Issue #24114: Fix an uninitialized variable in `ctypes.util`. | Meador Inge | 2016-04-30 | 1 | -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 #26304: Change "allows to <verb>" to "allows <verb>ing" or similar | Martin Panter | 2016-02-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear. | ||||
* | | | Issue #19023: Document ctypes array and pointer classes | Martin Panter | 2016-01-29 | 2 | -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 Melotti | 2016-01-09 | 1 | -1/+1 |
| | | | | | | | | | | | | Vieira Portela. | ||||
* | | | Issue #25622: Use repr(bytes) to avoid BytesWarning | Martin Panter | 2015-11-26 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #25622: Merge ctypes test from 3.4 into 3.5 | Martin Panter | 2015-11-26 | 1 | -2/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #25622: Rename to PythonValuesTestCase and enable for non-Windows | Martin Panter | 2015-11-26 | 1 | -2/+1 |
| | | | |||||
* | | | Issue #25498: Update error message for 3.5 | Martin Panter | 2015-11-13 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #25498: Merge ctypes crash fix from 3.4 into 3.5 | Martin Panter | 2015-11-13 | 1 | -2/+29 |
|\ \ \ | |/ / | |||||
| * | | Issue #25498: Fix GC crash due to ctypes objects wrapping a memoryview | Martin Panter | 2015-11-13 | 1 | -2/+29 |
| | | | | | | | | | | | | | | | This was a regression caused by revision 1da9630e9b7f. Based on patch by Eryksun. |