143 Commits (48d9823a0ebde4dfab8bc154bb6df462fb2ee403)

Author SHA1 Message Date
Benjamin Peterson bdf439321f Merged revisions 76319 via svnmerge from 17 years ago
Benjamin Peterson 36fbb730a7 fix one visible and several possible refleaks in rangeobject.c 17 years ago
Mark Dickinson d340f6cd3f Merged revisions 76298 via svnmerge from 17 years ago
Mark Dickinson b43dbc26f9 Fix another case of potential signed overflow. 17 years ago
Mark Dickinson cc83afd803 Merged revisions 76295 via svnmerge from 17 years ago
Mark Dickinson 009ae861f2 Avoid signed overflow in some xrange calculations, and extend 17 years ago
Mark Dickinson b6447512ab Merged revisions 76292-76293 via svnmerge from 17 years ago
Mark Dickinson bde0508d75 r76292 commit accidentally committed some extra code; remove it 17 years ago
Mark Dickinson d550c9a281 Issue #7298: Fix a variety of problems leading to wrong results with 17 years ago
Mark Dickinson 418f81d9b6 Issue #1766304: The range.__contains__ optimization should only be 17 years ago
Mark Dickinson 3e124ae739 Issue #1766304: Optimize membership testing for ranges: 'n in range(...)' 17 years ago
Georg Brandl 7baf625bab Merged revisions 74613,74615,74619-74620,74622 via svnmerge from 17 years ago
Georg Brandl c9a5a0e165 #6814: remove traces of xrange(). 17 years ago
Georg Brandl 7d1e88063c Merged revisions 73656,73658,73663,73666 via svnmerge from 17 years ago
Mark Dickinson 732166df68 Fix description of range_length_obj 17 years ago
Benjamin Peterson 12792092a6 this is also no longer true 17 years ago
Benjamin Peterson a47af9cf18 fix comment 17 years ago
Mark Dickinson eb36d31bb8 Issue #6334: Fix buggy internal length calculation in builtin range function 17 years ago
Raymond Hettinger 94f5583777 Fix SystemError and a wasps nest of ref counting issues. 17 years ago
Mark Dickinson e94c679df0 Issue #1717: rename tp_compare to tp_reserved. I'll change the 18 years ago
Mark Dickinson 211c625829 Issue #1717, stage 2: remove uses of tp_compare in Modules and most 18 years ago
Alexandre Vassalotti 7505607ae7 Issue 2582: Fix pickling of range objects. 18 years ago
Alexandre Vassalotti 602d8db2bc Added better pickling support to xrange objects. 18 years ago
Alexandre Vassalotti 1f2f61a78f Issue 2582: Fix pickling of xrange objects. 18 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Benjamin Peterson df0a5cbb2c #2689 Fix indentation in Objects/rangeobject.c 18 years ago
Raymond Hettinger ad3f3321f6 Merge r60673 19 years ago
Raymond Hettinger 0913166da2 Remove unnecessary modulo division. 19 years ago
Martin v. Löwis 8445104d7d Drop _PyLong_FitsInLong. Fixes #1666. 19 years ago
Christian Heimes 217cfd1c86 Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 19 years ago
Christian Heimes a22e8bdfd9 Added all PyTypeObjects to the appropriate header files. 19 years ago
Christian Heimes f83be4e3f3 Added view and iterator types to collections / _abcoll 19 years ago
Amaury Forgeot d'Arc b7f17e4bb4 Found another memory leak in longrangeiter. And redo the previous correction 19 years ago
Amaury Forgeot d'Arc a1e9ec4e55 Correct a memory leak: the range() object was not properly freed. 19 years ago
Martin v. Löwis 9f2e346911 Merged revisions 56467-56482 via svnmerge from 19 years ago
Walter Dörwald 4ad94210d1 Rename test_xrange.py to test_range.py and fix the 19 years ago
Walter Dörwald 03b43d8a77 repr(range(10)) now returns 'range(0, 10)' for clarity. 19 years ago
Walter Dörwald 850e516ebc Change range_repr() to use %R for the start/stop/step attributes. 19 years ago
Walter Dörwald 1ab8330827 Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirror 19 years ago
Guido van Rossum 317e774965 Merged revisions 55180-55183 via svnmerge from 19 years ago
Guido van Rossum 805365ee39 Merged revisions 55007-55179 via svnmerge from 19 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Martin v. Löwis 72d206776d Remove "static forward" declaration. Move constructors 20 years ago
Thomas Wouters f4d8f39053 Make xrange more Py_ssize_t aware, by assuming a Py_ssize_t is always at 20 years ago
Georg Brandl 347b30042b Remove unnecessary casts in type object initializers. 20 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
Raymond Hettinger 6b27cda643 Convert iterator __len__() methods to a private API. 21 years ago
Georg Brandl 02c42871cf Disallow keyword arguments for type constructors that don't use them. 21 years ago