Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | backout 0fb7789b5eeb for test breakage (#20578) | Benjamin Peterson | 2014-06-08 | 1 | -61/+6 |
| | |||||
* | add BufferedIOBase.readinto1 (closes #20578) | Benjamin Peterson | 2014-06-08 | 1 | -6/+61 |
| | | | | Patch by Nikolaus Rath. | ||||
* | All modern compilers provide a offsetof() function | Victor Stinner | 2014-06-03 | 1 | -4/+0 |
| | | | | offsetof() is used directly in many other .c files without any issue. | ||||
* | Issue #21233: Rename the C structure "PyMemAllocator" to "PyMemAllocatorEx" to | Victor Stinner | 2014-06-02 | 2 | -13/+13 |
| | | | | | make sure that the code using it will be adapted for the new "calloc" field (instead of crashing). | ||||
* | Issue #21639: Fix a division by zero in tracemalloc on calloc(0, 0). The | Victor Stinner | 2014-06-02 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | regression was introduced recently with the introduction of the new "calloc" functions (PyMem_RawCalloc, PyMem_Calloc, PyObject_Calloc). Add also a unit test to check for the non-regression. | ||||
* \ | (Merge 3.4) Issue #21639: Fix name of _testcapi test functions | Victor Stinner | 2014-06-02 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #21639: Fix name of _testcapi test functions | Victor Stinner | 2014-06-02 | 1 | -2/+2 |
| | | |||||
* | | Issue #17095: Fix Modules/Setup *shared* support. | Ned Deily | 2014-06-02 | 2 | -6/+16 |
|\ \ | |/ | | | | | Original patch by Thomas Wouters. | ||||
| * | Issue #17095: Fix Modules/Setup *shared* support. | Ned Deily | 2014-06-02 | 2 | -6/+16 |
| | | | | | | | | Original patch by Thomas Wouters. | ||||
* | | merge the end_fd comment fix and explicit wait() for the child. | Gregory P. Smith | 2014-06-01 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Fix the comment to not refer to the removed end_fd parameter. | Gregory P. Smith | 2014-06-01 | 1 | -2/+2 |
| | | |||||
* | | Don't restrict ourselves to a "max" fd when closing fds before exec() | Gregory P. Smith | 2014-06-01 | 1 | -43/+44 |
|\ \ | |/ | | | | | | | | | | | | | | | when we have a way to get an actual list of all open fds from the OS. Fixes issue #21618: The subprocess module would ignore fds that were inherited by the calling process and already higher than POSIX resource limits would otherwise allow. On systems with a functioning /proc/self/fd or /dev/fd interface the max is now ignored and all fds are closed. | ||||
| * | Don't restrict ourselves to a "max" fd when closing fds before exec() | Gregory P. Smith | 2014-06-01 | 1 | -43/+44 |
| | | | | | | | | | | | | | | | | | | when we have a way to get an actual list of all open fds from the OS. Fixes issue #21618: The subprocess module would ignore fds that were inherited by the calling process and already higher than POSIX resource limits would otherwise allow. On systems with a functioning /proc/self/fd or /dev/fd interface the max is now ignored and all fds are closed. | ||||
* | | Issue #21552: Fixed possible integer overflow of too long string lengths in | Serhiy Storchaka | 2014-05-30 | 1 | -1/+35 |
|\ \ | |/ | | | | | the tkinter module on 64-bit platforms. | ||||
| * | Issue #21552: Fixed possible integer overflow of too long string lengths in | Serhiy Storchaka | 2014-05-30 | 1 | -1/+35 |
| | | | | | | | | the tkinter module on 64-bit platforms. | ||||
* | | Issue #3015: _tkinter.create() now creates tkapp object with wantobject=1 by | Serhiy Storchaka | 2014-05-28 | 1 | -1/+1 |
| | | | | | | | | default. | ||||
* | | Issue #10203: sqlite3.Row now truly supports sequence protocol. In particulr | Serhiy Storchaka | 2014-05-28 | 1 | -2/+22 |
|\ \ | |/ | | | | | it supports reverse() and negative indices. Original patch by Claudiu Popa. | ||||
| * | Issue #10203: sqlite3.Row now truly supports sequence protocol. In particulr | Serhiy Storchaka | 2014-05-28 | 1 | -2/+22 |
| | | | | | | | | it supports reverse() and negative indices. Original patch by Claudiu Popa. | ||||
* | | Issue 21137: Better repr for threading.Lock() | Raymond Hettinger | 2014-05-26 | 1 | -3/+12 |
| | | |||||
* | | Cleanup other stats formatting code in gcmodule.c | Antoine Pitrou | 2014-05-24 | 1 | -5/+3 |
| | | |||||
* | | Issue #21555: simplify code in gcmodule.c by using the pytime.h functions ↵ | Antoine Pitrou | 2014-05-24 | 1 | -41/+9 |
| | | | | | | | | | | | | instead of trying to call time.time() via the C API. Patch by Geoffrey Spear. | ||||
* | | Issue #21455: Add a default backlog to socket.listen(). | Charles-François Natali | 2014-05-22 | 1 | -10/+12 |
| | | |||||
* | | Issue #21525: Most Tkinter methods which accepted tuples now accept lists too. | Serhiy Storchaka | 2014-05-21 | 1 | -33/+40 |
| | | |||||
* | | Add comment and make minor code clean-up to improve clarity. | Raymond Hettinger | 2014-05-18 | 1 | -3/+13 |
| | | |||||
* | | merge 3.4 (#10744) | Benjamin Peterson | 2014-05-17 | 3 | -11/+61 |
|\ \ | |/ | |||||
| * | support pep 3118 format strings for ctypes objects with nontrivial shapes ↵ | Benjamin Peterson | 2014-05-17 | 3 | -11/+61 |
| | | | | | | | | | | | | (closes #10744) Patch by Matti Picus. | ||||
* | | Issue #20998: Fixed re.fullmatch() of repeated single character pattern | Serhiy Storchaka | 2014-05-14 | 3 | -19/+17 |
|\ \ | |/ | | | | | with ignore case. Original patch by Matthew Barnett. | ||||
| * | Issue #20998: Fixed re.fullmatch() of repeated single character pattern | Serhiy Storchaka | 2014-05-14 | 3 | -19/+17 |
| | | | | | | | | with ignore case. Original patch by Matthew Barnett. | ||||
* | | Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY() | Victor Stinner | 2014-05-14 | 3 | -11/+5 |
| | | | | | | | | | | Keep _Py_STRINGIZE() in PC/pyconfig.h to not introduce a dependency between pyconfig.h and pymacros.h. | ||||
* | | (Merge 3.4) Issue #21497: faulthandler functions now raise a better error if | Victor Stinner | 2014-05-14 | 1 | -0/+4 |
|\ \ | |/ | | | | | | | sys.stderr is None: RuntimeError("sys.stderr is None") instead of AttributeError("'NoneType' object has no attribute 'fileno'"). | ||||
| * | Issue #21497: faulthandler functions now raise a better error if sys.stderr is | Victor Stinner | 2014-05-14 | 1 | -0/+4 |
| | | | | | | | | | | None: RuntimeError("sys.stderr is None") instead of AttributeError("'NoneType' object has no attribute 'fileno'"). | ||||
| * | Backed out changeset 6ceedbd88b5f | Victor Stinner | 2014-05-14 | 1 | -10/+6 |
| | | |||||
| * | Issue #21488: Add support of keyword arguments for codecs.encode and ↵ | Victor Stinner | 2014-05-14 | 1 | -6/+10 |
| | | | | | | | | codecs.decode | ||||
* | | Issue #21488: Add support of keyword arguments for codecs.encode and ↵ | Victor Stinner | 2014-05-14 | 1 | -6/+10 |
| | | | | | | | | codecs.decode | ||||
* | | merge 3.4 | Benjamin Peterson | 2014-05-11 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | use logical rather than bit and | Benjamin Peterson | 2014-05-11 | 1 | -1/+1 |
| | | |||||
* | | Issue 21424: Apply the nlargest() optimizations to nsmallest() as well. | Raymond Hettinger | 2014-05-11 | 1 | -73/+19 |
| | | |||||
* | | Issue #21424: Optimize heaqp.nlargest() to make fewer tuple comparisons. | Raymond Hettinger | 2014-05-11 | 1 | -85/+0 |
| | | | | | | | | | | | | | | | | | | | | | | Consolidates the logic for nlargest() into a single function so that decoration tuples (elem,order) or (key, order, elem) only need to be formed when a new element is added to the heap. Formerly, a tuple was created for every element regardless of whether it was added to the heap. The change reduces the number of tuples created, the number of ordering integers created, and total number of tuple comparisons. | ||||
* | | Merge from 3.4. | Tim Peters | 2014-05-08 | 1 | -11/+23 |
|\ \ | |/ | | | | | | | | | Issue #21435: Segfault in gc with cyclic trash Changed the iteration logic in finalize_garbage() to tolerate objects vanishing from the list as a side effect of executing a finalizer. | ||||
| * | Issue #21435: Segfault in gc with cyclic trash | Tim Peters | 2014-05-08 | 1 | -11/+23 |
| | | | | | | | | | | Changed the iteration logic in finalize_garbage() to tolerate objects vanishing from the list as a side effect of executing a finalizer. | ||||
* | | Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a ↵ | Antoine Pitrou | 2014-05-08 | 1 | -4/+5 |
|\ \ | |/ | | | | | | | | | flush() on the underlying binary stream. Patch by akira. | ||||
| * | Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a ↵ | Antoine Pitrou | 2014-05-08 | 1 | -4/+5 |
| | | | | | | | | | | | | flush() on the underlying binary stream. Patch by akira. | ||||
* | | Issue18314 Allow unlink to remove junctions. Includes support for creating ↵ | Tim Golden | 2014-05-05 | 3 | -36/+199 |
| | | | | | | | | junctions. Patch by Kim Gräsman | ||||
* | | Issue #21088: Merge from 3.4. | Larry Hastings | 2014-05-04 | 1 | -12/+12 |
|\ \ | |/ | |||||
| * | Issue #21088: Bugfix for curses.window.addch() regression in 3.4.0. | Larry Hastings | 2014-05-04 | 1 | -12/+12 |
| | | | | | | | | In porting to Argument Clinic, the first two arguments were reversed. | ||||
* | | Neaten-up a bit add add missing size change check. | Raymond Hettinger | 2014-05-04 | 1 | -6/+11 |
| | | |||||
* | | Simplify and speedup the internals of the heapq module. | Raymond Hettinger | 2014-05-04 | 1 | -71/+36 |
| | | |||||
* | | Issue #21101: Eliminate double hashing in the C code for collections.Counter(). | Raymond Hettinger | 2014-05-03 | 1 | -3/+14 |
| | | |||||
* | | merge | Raymond Hettinger | 2014-05-03 | 1 | -8/+8 |
|\ \ | |/ | |||||
| * | Issue 21375: Fix possible Py_ssizet overflow in heapq. | Raymond Hettinger | 2014-05-03 | 1 | -8/+8 |
| | |