112 Commits (d917dcbe5e855ae30eca455d38bec2bf6354dbdf)

Author SHA1 Message Date
Mark Dickinson ffdb2c21b3 Issue #16451: Refactor to remove duplication between range and slice in slice index computations. 13 years ago
Mark Dickinson 8cd1c7681d Issue #16402: In range slicing, fix shadowing of exceptions from __index__ method. 13 years ago
Chris Jerdonek ad4b000179 Issue #14783: Backport changes from 3.2. 13 years ago
Chris Jerdonek 83fe2e1c22 Issue #14783: Improve int() docstring and also str(), range(), and slice(). 13 years ago
Mark Dickinson 218a8ab5eb Issues #16029, #16030: Fix pickling and repr of large xranges. 13 years ago
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
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
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 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
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
Alexandre Vassalotti 602d8db2bc Added better pickling support to xrange objects. 18 years ago