Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
| * | Issue #21374: Fix pickling of DecimalTuple. | Stefan Krah | 2014-04-29 | 1 | -4/+9 |
| | | |||||
* | | Issue #21233: Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(), | Victor Stinner | 2014-05-02 | 3 | -19/+135 |
| | | | | | | | | | | | | PyObject_Calloc(), _PyObject_GC_Calloc(). bytes(int) and bytearray(int) are now using ``calloc()`` instead of ``malloc()`` for large objects which is faster and use less memory (until the bytearray buffer is filled with data). | ||||
* | | Use $type instead of $cls in the signature specification. | Stefan Krah | 2014-05-02 | 1 | -1/+1 |
| | | |||||
* | | Issue #21407: _decimal now supports function signatures. | Stefan Krah | 2014-05-01 | 1 | -378/+482 |
| | | |||||
* | | Issue #21374: Fix pickling of DecimalTuple. | Stefan Krah | 2014-04-29 | 1 | -4/+9 |
| | | |||||
* | | Issue #21321: itertools.islice() now releases the reference to the source ↵ | Antoine Pitrou | 2014-04-29 | 1 | -3/+22 |
|\ \ | |/ | | | | | | | | | iterator when the slice is exhausted. Patch by Anton Afanasyev. | ||||
| * | Issue #21321: itertools.islice() now releases the reference to the source ↵ | Antoine Pitrou | 2014-04-29 | 1 | -3/+22 |
| | | | | | | | | | | | | iterator when the slice is exhausted. Patch by Anton Afanasyev. | ||||
* | | Issue #21057: TextIOWrapper now allows the underlying binary stream's read() ↵ | Antoine Pitrou | 2014-04-29 | 1 | -14/+20 |
| | | | | | | | | | | | | or read1() method to return an arbitrary bytes-like object (such as a memoryview). Patch by Nikolaus Rath. | ||||
* | | Issue #20355: -W command line options now have higher priority than the ↵ | Antoine Pitrou | 2014-04-28 | 1 | -1/+18 |
| | | | | | | | | PYTHONWARNINGS environment variable. Patch by Arfrever. | ||||
* | | Backed out changeset: 17df50df62c7 | Tim Golden | 2014-04-27 | 3 | -171/+36 |
| | | |||||
* | | Issue #18314 os.unlink will now remove junction points on Windows. Patch by ↵ | Tim Golden | 2014-04-27 | 3 | -36/+171 |
| | | | | | | | | Kim Gräsman. | ||||
* | | Fix compiler warning on Windows | Zachary Ware | 2014-04-23 | 1 | -1/+1 |
| | | | | | | | | ..\Modules\_testcapimodule.c(3320): warning C4098: 'matmulType_dealloc' : 'void' function returning a value | ||||
* | | Add implementation notes | Raymond Hettinger | 2014-04-23 | 1 | -1/+32 |
| | | |||||
* | | - Merge 3.4 | doko@ubuntu.com | 2014-04-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fixes for KFreeBSD and the Hurd: | doko@ubuntu.com | 2014-04-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | - Issue #21274: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c. - Issue #21276: posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd. - Issue #21275: Fix a socket test on KFreeBSD. | ||||
* | | Merge from 3.4 | Andrew Kuchling | 2014-04-16 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | #15840: make docs consistent by saying operations on closed files raise ↵ | Andrew Kuchling | 2014-04-16 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | ValueError. Patch by Caelyn McAulay. Neither Caelyn nor I could find any cases in 2.7 or 3.4/5 where an operation on a closed stream raised IOError; generally the C implementations have a macro to check for the stream being closed, and these macros all raised ValueError. If we find any, a new bug should be opened. | ||||
* | | Add conditional code for android's lack of definition of SYS_getdent64. | Gregory P. Smith | 2014-04-14 | 1 | -0/+6 |
|\ \ | |/ | | | | | | | | | Fixes issue20307. No Misc/NEWS entry because frankly this is an esoteric platform for anyone to be figuring out how to cross compile CPython for. | ||||
| * | Add conditional code for android's lack of definition of SYS_getdent64. | Gregory P. Smith | 2014-04-14 | 1 | -0/+6 |
| | | | | | | | | | | | | Fixes issue20307. No Misc/NEWS entry because frankly this is an esoteric platform for anyone to be figuring out how to cross compile CPython for. | ||||
* | | merge 3.4 | Benjamin Peterson | 2014-04-14 | 1 | -4/+5 |
|\ \ | |/ | |||||
| * | merge 3.3 | Benjamin Peterson | 2014-04-14 | 1 | -4/+5 |
| |\ | |||||
| | * | merge 3.2 | Benjamin Peterson | 2014-04-14 | 1 | -4/+5 |
| | |\ | |||||
| | | * | disallow a negative idx parameter | Benjamin Peterson | 2014-04-14 | 1 | -4/+5 |
| | | | | |||||
* | | | | merge 3.4 | Benjamin Peterson | 2014-04-14 | 1 | -1/+4 |
|\ \ \ \ | |/ / / | |||||
| * | | | merge 3.3 | Benjamin Peterson | 2014-04-14 | 1 | -1/+4 |
| |\ \ \ | | |/ / | |||||
| | * | | merge 3.2 | Benjamin Peterson | 2014-04-14 | 1 | -1/+4 |
| | |\ \ | | | |/ | |||||
| | | * | in scan_once, prevent the reading of arbitrary memory when passed a negative ↵ | Benjamin Peterson | 2014-04-14 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | index Bug reported by Guido Vranken. | ||||
* | | | | Issue #20539: Improve math.factorial error messages and types for large inputs. | Mark Dickinson | 2014-04-10 | 1 | -4/+12 |
| | | | | | | | | | | | | | | | | | | | | - Better message for the OverflowError in large positive inputs. - Changed exception type from OverflowError to ValueError for large negative inputs. | ||||
* | | | | PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) | Benjamin Peterson | 2014-04-10 | 2 | -0/+111 |
| | | | | |||||
* | | | | Issue #21076: the C signal module has been renamed to _signal | Victor Stinner | 2014-04-04 | 1 | -1/+1 |
| | | | | |||||
* | | | | merge along w/ fix for issue #2107 (commit c9239171e429) | Brett Cannon | 2014-04-04 | 1 | -3/+3 |
|\ \ \ \ | |||||
| * | | | | fix #21076: turn signal module constants into enums | Giampaolo Rodola' | 2014-04-04 | 1 | -2/+2 |
|/ / / / | |||||
* | | | | Issue #6676: merge from 3.4 | Ned Deily | 2014-03-27 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #6676: Ensure a meaningful exception is raised when attempting | Ned Deily | 2014-03-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | to parse more than one XML document per pyexpat xmlparser instance. (Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with suggested wording by David Gutteridge) | ||||
* | | | | (Merge 3.4) Issue #21036: Fix typo in macro name | Victor Stinner | 2014-03-24 | 3 | -6/+6 |
|\ \ \ \ | |/ / / | | | | | | | | | _PY_HASHTABLE_ENTRY_DATA => _Py_HASHTABLE_ENTRY_DATA | ||||
| * | | | Issue #21036: Fix typo in macro name | Victor Stinner | 2014-03-24 | 3 | -6/+6 |
| | | | | | | | | | | | | | | | | _PY_HASHTABLE_ENTRY_DATA => _Py_HASHTABLE_ENTRY_DATA | ||||
* | | | | Issue #21015: SSL contexts will now automatically select an elliptic curve ↵ | Antoine Pitrou | 2014-03-22 | 1 | -0/+15 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise default to "prime256v1". (should also fix a buildbot failure introduced by #20995) |