Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #14288: Serialization support for builtin iterators. | Kristján Valur Jónsson | 2012-04-03 | 1 | -1/+23 |
| | |||||
* | add introspection to range objects (closes #9896) | Benjamin Peterson | 2011-11-05 | 1 | -0/+29 |
| | | | | Patch by Daniel Urban. | ||||
* | Issue #13201: equality for range objects is now based on equality of the ↵ | Mark Dickinson | 2011-10-23 | 1 | -0/+52 |
| | | | | underlying sequences. Thanks Sven Marnach for the patch. | ||||
* | #11845: Fix typo in rangeobject.c that caused a crash in ↵ | Ezio Melotti | 2011-04-15 | 1 | -0/+9 |
| | | | | compute_slice_indices. Patch by Daniel Urban. | ||||
* | Issue 10889: Support slicing and indexing of large ranges (no docs changes, ↵ | Nick Coghlan | 2011-01-12 | 1 | -7/+86 |
| | | | | since, as far as I know, we never said anywhere that this *didn't* work) | ||||
* | Issue 2690: Add support for slicing and negative indices to range objects ↵ | Nick Coghlan | 2010-12-03 | 1 | -1/+72 |
| | | | | | | (includes precalculation and storage of the range length). Refer to the tracker issue for the language moratorium implications of this change | ||||
* | fix two broken tests | Benjamin Peterson | 2010-11-20 | 1 | -1/+2 |
| | |||||
* | merge all range tests into test_range | Benjamin Peterson | 2010-11-20 | 1 | -0/+157 |
| | |||||
* | #9424: Replace deprecated assert* methods in the Python test suite. | Ezio Melotti | 2010-11-20 | 1 | -2/+2 |
| | |||||
* | use assert[Not]In where appropriate | Ezio Melotti | 2010-01-23 | 1 | -12/+12 |
| | |||||
* | use assert[Not]In where appropriate | Benjamin Peterson | 2010-01-19 | 1 | -20/+20 |
| | | | | A patch from Dave Malcolm. | ||||
* | remove 2.x specific warnings | Benjamin Peterson | 2009-11-16 | 1 | -4/+0 |
| | |||||
* | Issue #7298: Fix a variety of problems leading to wrong results with | Mark Dickinson | 2009-11-15 | 1 | -0/+61 |
| | | | | | | | the fast versions of range.__reversed__ and range iteration. Also fix wrong results and a refleak for PyLong version of range.__reversed__. Thanks Eric Smith for reviewing, and for suggesting improved tests. | ||||
* | Issue #1766304: The range.__contains__ optimization should only be | Mark Dickinson | 2009-09-24 | 1 | -0/+6 |
| | | | | applied to ints, not to instances of subclasses of int. | ||||
* | Issue #1766304: Optimize membership testing for ranges: 'n in range(...)' | Mark Dickinson | 2009-09-22 | 1 | -0/+50 |
| | | | | | does an O(1) check, if n is an integer. Non-integers aren't affected. Thanks Robert Lehmann. | ||||
* | convert old fail* assertions to assert* | Benjamin Peterson | 2009-06-30 | 1 | -6/+6 |
| | |||||
* | Fix SystemError and a wasps nest of ref counting issues. | Raymond Hettinger | 2009-06-12 | 1 | -0/+7 |
| | |||||
* | Issue #4183: Some tests didn't run with pickle.HIGHEST_PROTOCOL. | Hirokazu Yamamoto | 2008-10-23 | 1 | -1/+1 |
| | | | | Reviewed by Benjamin Peterson. | ||||
* | Issue 2582: Fix pickling of range objects. | Alexandre Vassalotti | 2008-06-10 | 1 | -0/+10 |
| | |||||
* | #2621 rename test.test_support to test.support | Benjamin Peterson | 2008-05-20 | 1 | -2/+2 |
| | |||||
* | Removed PyInt_GetMax and sys.maxint | Christian Heimes | 2007-12-04 | 1 | -3/+3 |
| | | | | | I replaced sys.maxint with sys.maxsize in Lib/*.py. Does anybody see a problem with the change on Win 64bit platforms? Win 64's long is just 32bit but the sys.maxsize is now 2**63-1 on every 64bit platform. Also added docs for sys.maxsize. | ||||
* | Update name of test. | Walter Dörwald | 2007-05-21 | 1 | -1/+1 |
| | |||||
* | Rename test_xrange.py to test_range.py and fix the | Walter Dörwald | 2007-05-21 | 1 | -0/+68 |
type name in various spots. |