69 Commits (ff337ccd4bf9b6edea5aa25ea72f7d4c02a3bf47)

Author SHA1 Message Date
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Mark Dickinson b9e16245ac Merged revisions 76330 via svnmerge from 16 years ago
Mark Dickinson b2c3ca1e38 Silence MSVC warning about unary minus applied to unsigned type. 16 years ago
Mark Dickinson cc83afd803 Merged revisions 76295 via svnmerge from 16 years ago
Mark Dickinson 009ae861f2 Avoid signed overflow in some xrange calculations, and extend 16 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
Raymond Hettinger 0913166da2 Remove unnecessary modulo division. 18 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. 20 years ago
Armin Rigo f5b3e36493 Renamed _length_cue() to __length_hint__(). See: 20 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
Raymond Hettinger 665174834a Remove PyRange_New(). 21 years ago
Tim Peters feec4533e2 Bug 1003935: xrange overflows 22 years ago
Tim Peters d976ab7caf Trimmed trailing whitespace. 22 years ago
Michael W. Hudson f8df9a89bc Add a missing decref. 22 years ago
Raymond Hettinger ef9bf4031a Tidied up the implementations of reversed (including the custom ones 22 years ago
Raymond Hettinger 85c20a41df Implement and apply PEP 322, reverse iteration 23 years ago
Raymond Hettinger 1da1dbf458 Renamed PyObject_GenericGetIter to PyObject_SelfIter 23 years ago
Raymond Hettinger 0153826964 Created PyObject_GenericGetIter(). 23 years ago
Raymond Hettinger d2bef8256b Update comments about the performance of xrange(). 23 years ago
Raymond Hettinger 5ae8e01cc5 Restore attribute access so that the following work again: 24 years ago
Guido van Rossum d4774fb6ef Untested code for 64-bit platforms. range_length() is declared as int 24 years ago
Jeremy Hylton 938ace69a0 staticforward bites the dust. 24 years ago
Guido van Rossum 86d593e110 Remove the next() method -- one is supplied automatically by 24 years ago
Martin v. Löwis 14f8b4cfcb Patch #568124: Add doc string macros. 24 years ago
Neal Norwitz 56f46f8d8c Pyrangeiter_Type && range_iter should be static 24 years ago
Raymond Hettinger c4c453f5ae Skip Montanaro's patch, SF 559833, exposing xrange type in builtins. 24 years ago
Raymond Hettinger 48165d40cb SF 564601 adding rangeiterobject to make xrange() iterate like range(). 24 years ago
Raymond Hettinger e53e7a2c7d Inverted test for small speedup 24 years ago
Martin v. Löwis e452659237 Patch #551410: Implement tp_getiter. 24 years ago
Fred Drake d9018323c0 Remove old deprecated features from the xrange object. 24 years ago
Fred Drake edb51bb7e8 Fix attribute access for the xrange objects. The tp_getattr and tp_getattro 24 years ago
Neil Schemenauer 9acae5a0a6 Remove PyMalloc_New and PyMalloc_Del. 24 years ago
Neil Schemenauer dcc819a5c9 Use pymalloc if it's enabled. 24 years ago
Neal Norwitz 2a47c0fa23 Fix spelling mistakes. Bugfix candidates. 24 years ago
Guido van Rossum 03b3f04542 long_mul(): The PyNumber_Multiply() call can return a long if the 24 years ago
Barry Warsaw 7ce3694a52 repr's converted to using PyString_FromFormat() instead of sprintf'ing 25 years ago
Martin v. Löwis e3eb1f2b23 Patch #427190: Implement and use METH_NOARGS and METH_O. 25 years ago
Tim Peters 6d6c1a35e0 Merge of descr-branch back into trunk. 25 years ago
Thomas Wouters efafcea280 Re-add 'advanced' xrange features, adding DeprecationWarnings as discussed 25 years ago
Guido van Rossum 3f56166b1a Rip out the fancy behaviors of xrange that nobody uses: repeat, slice, 25 years ago
Guido van Rossum 65e0b99b61 SF patch #103158 by Greg Ball: Don't do unsafe arithmetic in xrange 25 years ago
Guido van Rossum 9e8f4ea0aa Test for NULL returned from PyObject_NEW(). 25 years ago