[Python-ideas] Add irange with large integer step support to itertools

Nick Coghlan ncoghlan at gmail.com
Tue Jan 11 19:27:12 CET 2011


On Tue, Jan 11, 2011 at 1:23 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> Currently, indexing a range is such an operation (which is why it
> fails). While it's a fairly straightforward (albeit somewhat tedious)
> change to fix range_subscript and range_item to correctly handle cases
> where the index and/or the length exceed sys.maxsize, it still
> requires someone to actually create the issue on the tracker and then
> propose a patch to fix it.

As anticipated, a reasonably straightforward but somewhat tedious
change to make: http://bugs.python.org/issue10889 :)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-ideas mailing list