Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 #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: Merge spelling fixes from 3.5 | Martin Panter | 2016-07-28 | 2 | -2/+2 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #27626: Spelling fixes in docs, comments and internal names | Martin Panter | 2016-07-28 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | Based on patch by Ville Skyttä. | ||||
* | | | | Backed out changeset af29d89083b3 (closes #25548) (closes #27498) | Benjamin Peterson | 2016-07-14 | 1 | -5/+5 |
| | | | | |||||
* | | | | Issue #27343: Fixed error message for conflicting initializers of ↵ | Serhiy Storchaka | 2016-06-18 | 1 | -3/+3 |
|\ \ \ \ | |/ / / | | | | | | | | | ctypes.Structure. | ||||
| * | | | Issue #27343: Fixed error message for conflicting initializers of ↵ | Serhiy Storchaka | 2016-06-18 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | ctypes.Structure. | ||||
* | | | | Issue #22636: Merge ctypes.util from 3.5 | Martin Panter | 2016-06-14 | 1 | -19/+35 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #22636: Handle OSError from subprocess, e.g. if command not found | Martin Panter | 2016-06-14 | 1 | -19/+35 |
| | | | | |||||
* | | | | Issue #22636: Merge ctypes.util shell injection fixes from 3.5 | Martin Panter | 2016-06-14 | 2 | -44/+82 |
|\ \ \ \ | |/ / / | |||||
| * | | | 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 #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 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #27125: Remove duplicated words from documentation and comments | Martin Panter | 2016-05-30 | 1 | -1/+1 |
| | | | | |||||
* | | | | 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 |
|\ \ \ \ | |/ / / | |||||
| * | | | 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 | ||||
* | | | | 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-05-01 | 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 #24114: Fix an uninitialized variable in `ctypes.util`. | Meador Inge | 2016-05-01 | 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. | ||||
* | | | | Remove more unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 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. | ||||
* | | | 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. | ||||
* | | | Issue #25582: Fixed 100 MB memory leak in test_ctypes. | Serhiy Storchaka | 2015-11-09 | 2 | -1/+15 |
|\ \ \ | |/ / | |||||
| * | | Issue #25582: Fixed 100 MB memory leak in test_ctypes. | Serhiy Storchaka | 2015-11-09 | 2 | -1/+15 |
| | | | |||||
* | | | Issue #25523: Merge a-to-an corrections from 3.4. | Serhiy Storchaka | 2015-11-02 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #25523: Further a-to-an corrections. | Serhiy Storchaka | 2015-11-02 | 1 | -1/+1 |
| | | | |||||
* | | | Merge 3.4 (ctypes) | Victor Stinner | 2015-07-29 | 1 | -0/+28 |
|\ \ \ | |/ / | |||||
| * | | Issue #23319: Fix ctypes.BigEndianStructure, swap correctly bytes. Patch | Victor Stinner | 2015-07-29 | 1 | -0/+28 |
| | | | | | | | | | | | | written by Matthieu Gautier. | ||||
* | | | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. | Yury Selivanov | 2015-07-03 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #23911: Fix ctypes test on Windows. | Zachary Ware | 2015-05-13 | 1 | -2/+2 |
| | | | | | | | | | | | | Comparing equality of list and tuple is always False. | ||||
* | | | Issue #23911: Move path-based bootstrap code to a separate frozen module. | Eric Snow | 2015-05-03 | 1 | -7/+12 |
| | | | |||||
* | | | Closes #17202: Merge with 3.4 | Zachary Ware | 2015-04-13 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #17202: Add .bat to .hgeol to force them to CRLF. | Zachary Ware | 2015-04-13 | 1 | -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. |