Message1232

Author leouserz
Recipients
Date 2006-12-20.18:45:12
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
"Note: xrange() is intended to be simple and fast. Implementations may impose restrictions to achieve this. The C implementation of Python restricts all arguments to native C longs ("short" Python integers), and also requires that the number of elements fit in a native C long."

from:
http://docs.python.org/lib/built-in-funcs.html

seems, that there are limits so it seems reasonable that xrange is doing the right thing.

leouser
History
Date User Action Args
2008-02-20 17:17:33adminlinkissue1560858 messages
2008-02-20 17:17:33admincreate