commit | efbbb1c60237a9a2997dc4b1ab213e4c6f0da824 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Apr 11 18:43:06 2003 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Apr 11 18:43:06 2003 +0000 |
tree | c2fd52c7be4ed7015749f88056e8f6c558419f8f | |
parent | a1ce93f87cb221be9a7466c2f9d2b7dc494f458d [diff] |
Patch by Chad Netzer (with significant change): - range() now works even if the arguments are longs with magnitude larger than sys.maxint, as long as the total length of the sequence fits. E.g., range(2**100, 2**101, 2**100) is the following list: [1267650600228229401496703205376L]. (SF patch #707427.)