[New-bugs-announce] [issue6985] range() fails with long integers

Krzysztof Szawala report at bugs.python.org
Thu Sep 24 12:38:13 CEST 2009


New submission from Krzysztof Szawala <kszawala at slb.com>:

range() method fails with the following error message:

"
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: range() result has too many items
"

when passing a valid integer value of 9999999999.
This value is obtained from OptParse command-line option as a valid 
ingeter.

Applies to both Windows and Linux (32 and 64-bit).

----------
components: Interpreter Core
messages: 93063
nosy: kszawala
severity: normal
status: open
title: range() fails with long integers
type: crash
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6985>
_______________________________________


More information about the New-bugs-announce mailing list