summaryrefslogtreecommitdiff
path: root/Objects/rangeobject.c
AgeCommit message (Expand)AuthorLines
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-198/+198
2009-11-16Merged revisions 76330 via svnmerge fromMark Dickinson-1/+1
2009-11-15Merged revisions 76295 via svnmerge fromMark Dickinson-34/+44
2008-06-10Added better pickling support to xrange objects.Alexandre Vassalotti-3/+3
2008-06-10Issue 2582: Fix pickling of xrange objects.Alexandre Vassalotti-0/+11
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-3/+3
2008-05-26Renamed PyString to PyBytesChristian Heimes-3/+3
2008-02-08Remove unnecessary modulo division.Raymond Hettinger-1/+1
2006-04-11Remove "static forward" declaration. Move constructorsMartin v. Löwis-47/+45
2006-04-04Make xrange more Py_ssize_t aware, by assuming a Py_ssize_t is always atThomas Wouters-7/+0
2006-03-30Remove unnecessary casts in type object initializers.Georg Brandl-38/+38
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
2004-12-03Remove PyRange_New().Raymond Hettinger-45/+0
2004-08-08Bug 1003935: xrange overflowsTim Peters-1/+16
2004-08-08Trimmed trailing whitespace.Tim Peters-5/+5
2004-08-02Add a missing decref.Michael W. Hudson-0/+1
2004-03-10Tidied up the implementations of reversed (including the custom onesRaymond Hettinger-1/+13
2003-11-06Implement and apply PEP 322, reverse iterationRaymond Hettinger-1/+36
2003-03-17Renamed PyObject_GenericGetIter to PyObject_SelfIterRaymond Hettinger-1/+1
2003-03-17Created PyObject_GenericGetIter().Raymond Hettinger-8/+1
2002-12-11Update comments about the performance of xrange().Raymond Hettinger-2/+2
2002-11-07Restore attribute access so that the following work again:Raymond Hettinger-1/+1
2002-09-11Untested code for 64-bit platforms. range_length() is declared as intGuido van Rossum-1/+8
2002-07-17staticforward bites the dust.Jeremy Hylton-2/+2
2002-07-16Remove the next() method -- one is supplied automatically byGuido van Rossum-10/+1
2002-06-13Patch #568124: Add doc string macros.Martin v. Löwis-2/+2
2002-06-06Pyrangeiter_Type && range_iter should be staticNeal Norwitz-5/+5
2002-06-05Skip Montanaro's patch, SF 559833, exposing xrange type in builtins.Raymond Hettinger-2/+84
2002-06-05SF 564601 adding rangeiterobject to make xrange() iterate like range().Raymond Hettinger-46/+91
2002-06-04Inverted test for small speedupRaymond Hettinger-5/+4
2002-05-08Patch #551410: Implement tp_getiter.Martin v. Löwis-1/+51
2002-05-02Remove old deprecated features from the xrange object.Fred Drake-273/+40
2002-05-02Fix attribute access for the xrange objects. The tp_getattr and tp_getattroFred Drake-30/+37
2002-04-12Remove PyMalloc_New and PyMalloc_Del.Neil Schemenauer-2/+2
2002-03-22Use pymalloc if it's enabled.Neil Schemenauer-2/+2
2002-01-29Fix spelling mistakes. Bugfix candidates.Neal Norwitz-1/+1
2001-12-04long_mul(): The PyNumber_Multiply() call can return a long if theGuido van Rossum-0/+6
2001-08-24repr's converted to using PyString_FromFormat() instead of sprintf'ingBarry Warsaw-19/+19
2001-08-16Patch #427190: Implement and use METH_NOARGS and METH_O.Martin v. Löwis-4/+1
2001-08-02Merge of descr-branch back into trunk.Tim Peters-16/+28
2001-07-09Re-add 'advanced' xrange features, adding DeprecationWarnings as discussedThomas Wouters-16/+219
2001-07-05Rip out the fancy behaviors of xrange that nobody uses: repeat, slice,Guido van Rossum-222/+15
2001-01-15SF patch #103158 by Greg Ball: Don't do unsafe arithmetic in xrangeGuido van Rossum-10/+80
2000-12-14Test for NULL returned from PyObject_NEW().Guido van Rossum-0/+3
2000-11-08Fixed support for containment test when a negative step is used; thisFred Drake-8/+34
2000-11-08In the containment test, get the boundary condition right. ">" was usedFred Drake-2/+2
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0