summaryrefslogtreecommitdiff
path: root/Objects/rangeobject.c
AgeCommit message (Expand)AuthorLines
2012-11-04Issue #16402: In range slicing, fix shadowing of exceptions from __index__ me...Mark Dickinson-5/+5
2012-10-07Issue #14783: Improve int() docstring and also str(), range(), and slice().Chris Jerdonek-1/+2
2012-05-16Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32)...Antoine Pitrou-1/+1
2011-04-15#11845: Fix typo in rangeobject.c that caused a crash in compute_slice_indice...Ezio Melotti-1/+1
2011-01-16rangeobject.c (compute_slice_indices): Make function static.Matthias Klose-1/+1
2011-01-13plug reference leakBenjamin Peterson-2/+4
2011-01-12Issue 10889: Support slicing and indexing of large ranges (no docs changes, s...Nick Coghlan-67/+306
2010-12-03Merge branches/pep-0384.Martin v. Löwis-3/+2
2010-12-03Issue 2690: Add support for slicing and negative indices to range objects (in...Nick Coghlan-100/+184
2010-11-20pep 7 actually wants the brace on a new lineBenjamin Peterson-22/+44
2010-11-20code style and simplificationBenjamin Peterson-72/+31
2010-11-20Add error handling in range_count.Georg Brandl-1/+4
2010-11-20count() should return integers #10474Benjamin Peterson-2/+2
2010-09-13Issue #9213: Add index and count methods to range objects, needed toDaniel Stutzbach-46/+129
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-127/+127
2009-11-16fix one visible and several possible refleaks in rangeobject.cBenjamin Peterson-20/+17
2009-11-15Fix another case of potential signed overflow.Mark Dickinson-1/+4
2009-11-15r76292 commit accidentally committed some extra code; remove itMark Dickinson-27/+0
2009-11-15Issue #7298: Fix a variety of problems leading to wrong results withMark Dickinson-55/+138
2009-09-24Issue #1766304: The range.__contains__ optimization should only beMark Dickinson-1/+1
2009-09-22Issue #1766304: Optimize membership testing for ranges: 'n in range(...)'Mark Dickinson-0/+57
2009-09-01#6814: remove traces of xrange().Georg Brandl-1/+1
2009-06-28Fix description of range_length_objMark Dickinson-4/+3
2009-06-24this is also no longer trueBenjamin Peterson-3/+3
2009-06-24fix commentBenjamin Peterson-5/+4
2009-06-24Issue #6334: Fix buggy internal length calculation in builtin range functionMark Dickinson-9/+2
2009-06-12Fix SystemError and a wasps nest of ref counting issues.Raymond Hettinger-8/+24
2009-02-02Issue #1717: rename tp_compare to tp_reserved. I'll change theMark Dickinson-3/+3
2009-02-01Issue #1717, stage 2: remove uses of tp_compare in Modules and mostMark Dickinson-6/+5
2008-06-10Issue 2582: Fix pickling of range objects.Alexandre Vassalotti-0/+9
2008-04-25#2689 Fix indentation in Objects/rangeobject.cBenjamin Peterson-2/+2
2008-02-09Merge r60673Raymond Hettinger-1/+1
2007-12-20Drop _PyLong_FitsInLong. Fixes #1666.Martin v. Löwis-21/+36
2007-12-02Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases i...Christian Heimes-6/+6
2007-11-29Added all PyTypeObjects to the appropriate header files.Christian Heimes-6/+6
2007-11-28Added view and iterator types to collections / _abcollChristian Heimes-1/+1
2007-11-15Found another memory leak in longrangeiter. And redo the previous correctionAmaury Forgeot d'Arc-1/+2
2007-11-15Correct a memory leak: the range() object was not properly freed.Amaury Forgeot d'Arc-0/+1
2007-07-21Merged revisions 56467-56482 via svnmerge fromMartin v. Löwis-6/+3
2007-05-21Rename test_xrange.py to test_range.py and fix theWalter Dörwald-2/+2
2007-05-21repr(range(10)) now returns 'range(0, 10)' for clarity.Walter Dörwald-10/+3
2007-05-20Change range_repr() to use %R for the start/stop/step attributes.Walter Dörwald-30/+6
2007-05-18Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirrorWalter Dörwald-9/+9
2007-05-08Merged revisions 55180-55183 via svnmerge fromGuido van Rossum-8/+13
2007-05-07Merged revisions 55007-55179 via svnmerge fromGuido van Rossum-141/+546
2006-04-21Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters-92/+83
2006-02-15Merge ssize_t branch.Martin v. Löwis-7/+7
2006-02-11Renamed _length_cue() to __length_hint__(). See:Armin Rigo-2/+2
2005-09-24Convert iterator __len__() methods to a private API.Raymond Hettinger-8/+10
2005-08-26Disallow keyword arguments for type constructors that don't use them.Georg Brandl-0/+3