306 Commits (bbe2f60b3c19ecaa02ca07be14474eaacfcb59a0)

Author SHA1 Message Date
Martin v. Löwis cd12bfc142 Patch #708604: Check more function results. Will backport to 2.2. 23 years ago
Tim Peters 2af713c2f7 Squashed new compiler wngs about trying to compare pointers to 23 years ago
Raymond Hettinger 9928571f3f SF bug 665835: filter() treatment of str and tuple inconsistent 23 years ago
Guido van Rossum 3a3cca5b82 - list.insert(i, x) now interprets negative i as it would be 23 years ago
Raymond Hettinger 1da1dbf458 Renamed PyObject_GenericGetIter to PyObject_SelfIter 23 years ago
Raymond Hettinger 0153826964 Created PyObject_GenericGetIter(). 23 years ago
Skip Montanaro 4abd5f0fce Allow list sort's comparison function to explicitly be None. See SF patch 23 years ago
Raymond Hettinger ea3fdf44a2 SF patch #659536: Use PyArg_UnpackTuple where possible. 23 years ago
Raymond Hettinger f8bcfb13f1 SF Bug 645777: list.extend() works with any iterable and is no longer 23 years ago
Michael W. Hudson a69c030c15 The final tweaks before closing 23 years ago
Tim Peters b9099c3df4 SF patch 637176: list.sort crasher 23 years ago
Neal Norwitz 03b109afc0 Use PyOS_snprintf() instead of sprintf and wrap the long line 23 years ago
Michael W. Hudson 5da854fe51 This is Alex Martelli's patch 24 years ago
Guido van Rossum bfa5a14adb Darn! Don't divide by zero. Bad fix. :-) 24 years ago
Guido van Rossum a5c0e6d6c8 Add checks for size overflow on list*n, list+list, tuple+tuple. 24 years ago
Neal Norwitz bb9c5f5032 PyObject_RichCompareBool() already returns -1, 0, or 1, so return its value 24 years ago
Raymond Hettinger aae5999b44 Micro-optimization for list_contains. Factored double if test 24 years ago
Tim Peters e05f65a0c6 1. Combined the base and length arrays into a single array of structs. 24 years ago
Tim Peters 6063e2615f PyList_Reverse(): This was leaking a reference to Py_None on every call. 24 years ago
Tim Peters 66860f6da4 Sped the usual case for sorting by calling PyObject_RichCompareBool 24 years ago
Tim Peters 6bdbc9e0b1 SF bug 590366: Small typo in listsort:ParseTuple 24 years ago
Tim Peters a64dc245ac Replaced samplesort with a stable, adaptive mergesort. 24 years ago
Michael W. Hudson 56796f672f Fix for 24 years ago
Martin v. Löwis 673c0a2247 Patch #574867: Correct list.extend docstring. 24 years ago
Tim Peters 330f9e9581 More sort cleanup: Moved the special cases from samplesortslice into 24 years ago
Tim Peters 0fe977c4a9 binarysort() cleanup: Documented the key invariants, explained why they 24 years ago
Tim Peters 326b44871e listreverse(): Don't call the new reverse_slice unless the list 24 years ago
Tim Peters a8c974c157 Cleanup yielding a small speed boost: before rich comparisons were 24 years ago
Tim Peters 3b01a1217f Trimmed trailing whitespace. 24 years ago
Tim Peters 8e2e7ca330 Cleanup: Define one internal utility for reversing a list slice, and 24 years ago
Jeremy Hylton 938ace69a0 staticforward bites the dust. 24 years ago
Guido van Rossum 6b6272c857 Whitespace normalization. 24 years ago
Guido van Rossum 86103ae531 Make StopIteration a sink state. This is done by clearing out the 24 years ago
Guido van Rossum 5086e49a6e Make list_iter() really static. 24 years ago
Tim Peters 58cf361e35 docompare(): Another reasonable optimization from Jonathan Hogg for the 24 years ago
Jeremy Hylton a4b4c3bf05 Don't declare a function with staticforward. 24 years ago
Tim Peters f2a0473350 docompare(): Use PyTuple_New instead of Py_BuildValue to build compare's 24 years ago
Michael W. Hudson 9c14badc5f Fix the bug described in 24 years ago
Neal Norwitz 2c2e827029 Missed one use of new PyDoc_STRVAR macro 24 years ago
Neal Norwitz 35fc7606f0 SF #561244 Micro optimizations 24 years ago
Martin v. Löwis 14f8b4cfcb Patch #568124: Add doc string macros. 24 years ago
Guido van Rossum 75a20b19ef Fold remaining long lines. 24 years ago
Michael W. Hudson 5efaf7eac8 This is my nearly two year old patch 24 years ago
Tim Peters 93b2cc4e97 A bogus assert in the new listiter code prevented starting Python in a 24 years ago
Raymond Hettinger 14bd6de0ec SF 560736. Optimize list iteration by filling the tp_iter slot. 24 years ago
Neal Norwitz d4e5be5340 Closes: #556025 seg fault when doing list(xrange(1e9)) 24 years ago
Neil Schemenauer 99b5d28467 PyObject_GC_Del can now be used as a function designator. 24 years ago
Guido van Rossum ff413af605 This is Neil's fix for SF bug 535905 (Evil Trashcan and GC interaction). 24 years ago
Guido van Rossum dbb53d9918 Fix of SF bug #475877 (Mutable subtype instances are hashable). 24 years ago
Guido van Rossum 9475a2310d Enable GC for new-style instances. This touches lots of files, since 25 years ago