Message 65963 - Python tracker

Message65963

Author ncoghlan
Recipients amaury.forgeotdarc, belopolsky, facundobatista, mark.dickinson, ncoghlan
Date 2008-04-29.11:40:16
SpamBayes Score 0.11145458
Marked as misclassified No
Message-id <1209469220.6.0.0637064645457.issue2690@psf.upfronthosting.co.za>
In-reply-to
Content
It also isn't what range() and xrange() are used for now in 2.x. range()
returns an actual list, hence is limited to sequences that fit in a
reasonable amount of memory, and xrange() doesn't support values greater
than sys.maxint at all (as it uses C ints for its internal storage of
the start, stop and step values).

With itertools.count() available for the unbounded iterator case, I
think making range() mimic its 2.x counterpart as closely as possible
(without the memory inefficiency) will be quite valuable.
History
Date User Action Args
2008-04-29 11:40:21ncoghlansetspambayes_score: 0.111455 -> 0.11145458
recipients: + ncoghlan, facundobatista, amaury.forgeotdarc, mark.dickinson, belopolsky
2008-04-29 11:40:20ncoghlansetspambayes_score: 0.111455 -> 0.111455
messageid: <1209469220.6.0.0637064645457.issue2690@psf.upfronthosting.co.za>
2008-04-29 11:40:18ncoghlanlinkissue2690 messages
2008-04-29 11:40:17ncoghlancreate