107 Commits (b7d033db783b8ca2e4dfe23e348129ed666b6e2b)

Author SHA1 Message Date
Antoine Pitrou a103b96a80 Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows. 14 years ago
Antoine Pitrou a701388de1 Rename _PyIter_GetBuiltin to _PyObject_GetBuiltin, and do not include it in the stable ABI. 14 years ago
Kristján Valur Jónsson 31668b8f7a Issue #14288: Serialization support for builtin iterators. 14 years ago
Benjamin Peterson 878ce389a0 add introspection to range objects (closes #9896) 14 years ago
Mark Dickinson 36645681c8 Issue #13201: equality for range objects is now based on equality of the underlying sequences. Thanks Sven Marnach for the patch. 14 years ago
Ezio Melotti 982ef4e0bc #11845: Fix typo in rangeobject.c that caused a crash in compute_slice_indices. Patch by Daniel Urban. 15 years ago
Matthias Klose 616667fbe8 rangeobject.c (compute_slice_indices): Make function static. 15 years ago
Benjamin Peterson 547d4859b9 plug reference leak 15 years ago
Nick Coghlan e993b10041 Issue 10889: Support slicing and indexing of large ranges (no docs changes, since, as far as I know, we never said anywhere that this *didn't* work) 15 years ago
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 15 years ago
Nick Coghlan 37ee850b10 Issue 2690: Add support for slicing and negative indices to range objects (includes precalculation and storage of the range length). 15 years ago
Benjamin Peterson a1864f3717 pep 7 actually wants the brace on a new line 15 years ago
Benjamin Peterson 155614b104 code style and simplification 15 years ago
Georg Brandl 7e5343b882 Add error handling in range_count. 15 years ago
Benjamin Peterson 0b458d52f9 count() should return integers #10474 15 years ago
Daniel Stutzbach 9f0cbf1c72 Issue #9213: Add index and count methods to range objects, needed to 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Benjamin Peterson bdf439321f Merged revisions 76319 via svnmerge from 16 years ago
Benjamin Peterson 36fbb730a7 fix one visible and several possible refleaks in rangeobject.c 16 years ago
Mark Dickinson d340f6cd3f Merged revisions 76298 via svnmerge from 16 years ago
Mark Dickinson b43dbc26f9 Fix another case of potential signed overflow. 16 years ago
Mark Dickinson b6447512ab Merged revisions 76292-76293 via svnmerge from 16 years ago
Mark Dickinson bde0508d75 r76292 commit accidentally committed some extra code; remove it 16 years ago
Mark Dickinson d550c9a281 Issue #7298: Fix a variety of problems leading to wrong results with 16 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 17 years ago
Mark Dickinson 211c625829 Issue #1717, stage 2: remove uses of tp_compare in Modules and most 17 years ago
Alexandre Vassalotti 7505607ae7 Issue 2582: Fix pickling of range objects. 18 years ago
Benjamin Peterson df0a5cbb2c #2689 Fix indentation in Objects/rangeobject.c 18 years ago
Raymond Hettinger ad3f3321f6 Merge r60673 18 years ago
Martin v. Löwis 8445104d7d Drop _PyLong_FitsInLong. Fixes #1666. 18 years ago
Christian Heimes 217cfd1c86 Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 18 years ago
Christian Heimes a22e8bdfd9 Added all PyTypeObjects to the appropriate header files. 18 years ago
Christian Heimes f83be4e3f3 Added view and iterator types to collections / _abcoll 18 years ago
Amaury Forgeot d'Arc b7f17e4bb4 Found another memory leak in longrangeiter. And redo the previous correction 18 years ago
Amaury Forgeot d'Arc a1e9ec4e55 Correct a memory leak: the range() object was not properly freed. 18 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