171 Commits (41519b2ca84f47adccc3dc309d22bfa17c7ee39b)

Author SHA1 Message Date
Anthony Baxter a62862120d More low-hanging fruit. Still need to re-arrange some code (or find a better 20 years ago
Georg Brandl 5c170fd4a9 Fix some missing checks after PyTuple_New, PyList_New, PyDict_New 21 years ago
Guido van Rossum 38fff8c4e4 Checking in the code for PEP 357. 21 years ago
Martin v. Löwis 15e62742fa Revert backwards-incompatible const changes. 21 years ago
Martin v. Löwis eb079f1c25 Use Py_ssize_t for counts and sizes. 21 years ago
Martin v. Löwis 18e165558b Merge ssize_t branch. 21 years ago
Armin Rigo f5b3e36493 Renamed _length_cue() to __length_hint__(). See: 21 years ago
Jeremy Hylton af68c874a6 Add const to several API functions that take char *. 21 years ago
Raymond Hettinger 6b27cda643 Convert iterator __len__() methods to a private API. 21 years ago
Raymond Hettinger 57c2d930f6 Add a final permutation step to the tuple hash function. 22 years ago
Raymond Hettinger 4ec44e851d Replaced arbitrary addend in tuple_hash with one that is known to generate 22 years ago
Raymond Hettinger 41bd02256f SF bug #942952: Weakness in tuple hash 22 years ago
Armin Rigo 6fce78e07f Restored revision 2.87. 23 years ago
Tim Peters 1c3fd875b9 PyTuple_New(): vrbl i no longer referenced, so removed it (which kills 23 years ago
Armin Rigo 56716150e6 This is the fastest I could get on Intel GCC. I kept the memset() in to clear 23 years ago
Armin Rigo 7cdf3e8a8a memset() hunt continuing. This is a net win. 23 years ago
Raymond Hettinger 435bf58b7b Make iterators length transparent where possible. 23 years ago
Raymond Hettinger 325d169a54 Eliminate an unnecessary test on a common code path. 23 years ago
Raymond Hettinger a6366fe085 Optimize inner loops for subscript, repeat, and concat. 23 years ago
Raymond Hettinger b7d05db0be Optimize tuple_slice() and make further improvements to list_slice() 23 years ago
Raymond Hettinger cb2da43db8 Extended tuple's C API to include a new function, PyTuple_Pack() that is 23 years ago
Raymond Hettinger 686b14d7ad SF bug #730296: Unexpected Changes in list Iterator 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
Raymond Hettinger 1da1dbf458 Renamed PyObject_GenericGetIter to PyObject_SelfIter 24 years ago
Raymond Hettinger 0153826964 Created PyObject_GenericGetIter(). 24 years ago
Guido van Rossum 5d9113d8be Implement appropriate __getnewargs__ for all immutable subclassable builtin 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 bd9adab138 Micro-optimization for list_contains. Factored double if test 24 years ago
Guido van Rossum e3a8e7ed1d Call me anal, but there was a particular phrase that was speading to 24 years ago
Raymond Hettinger 48923c5533 Moved special case for tuples from iterobject.c to 24 years ago
Jeremy Hylton 938ace69a0 staticforward bites the dust. 24 years ago
Tim Peters 3459251d5a object.h special-build macro minefield: renamed all the new lexical 24 years ago
Jeremy Hylton 8b47dffc93 Fix for SF bug 571885 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
Michael W. Hudson 5efaf7eac8 This is my nearly two year old patch 24 years ago
Neil Schemenauer 626d774df6 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). 25 years ago
Guido van Rossum f70590f990 _PyTuple_Resize(): this dumped core on tuple(globals()) for me. Turns 25 years ago
Guido van Rossum 9475a2310d Enable GC for new-style instances. This touches lots of files, since 25 years ago
Tim Peters 7b07a41e9f The endless 460020 bug. 25 years ago
Tim Peters 1b8ca0d87a Rewrite the tuple() docstring to parallel the list() docstring. 25 years ago
Tim Peters 9577761337 Repair apparent cut'n'pasteo in tuple() docstring. 25 years ago
Guido van Rossum 4b8c0f6d7d More stuff discovered while writing the simplest of testcases: 25 years ago
Guido van Rossum ae960afb5e Make str and tuple types subclassable. 25 years ago
Neil Schemenauer e83c00efd0 Use new GC API. 25 years ago
Tim Peters 6d6c1a35e0 Merge of descr-branch back into trunk. 25 years ago
Tim Peters a7259597f1 SF bug 433228: repr(list) woes when len(list) big. 25 years ago