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

Nick Coghlan ncoghlan at gmail.com
Wed Jan 12 04:25:20 CET 2011


On Wed, Jan 12, 2011 at 4:27 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> 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 :)

This change has been committed to SVN, and will be available with
3.2rc1 later this week.

Cheers,
Nick.

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



More information about the Python-ideas mailing list