New submission from Krzysztof Szawala :
Currently optparse library supports the following option definitions:
-e value,
-e=value,
-e:value,
-evalue.
Having said that let's consider the following option definition:
-e .
Based on the above syntax the following statement will be co
New submission from Krzysztof Szawala :
range() method fails with the following error message:
"
Traceback (most recent call last):
File "", line 1, in
OverflowError: range() result has too many items
"
when passing a valid integer value of 99.
This value is ob
Krzysztof Szawala added the comment:
As I mentionetd, the problem occurs with Python 2.5 (I won't be
switching to Python 3). The only perspective for me to upgrade is Python
2.6, but as I can see the problem applies to 2.6 as well.
___
Python tracker
New submission from Krzysztof Szawala :
I am using optparse for command-line parameters parsing. To follow
common naming convention I defined -d (minus followed by a single
character option) and --debug (double minus followed by a word).
It looks like optparse doesn't complain when -
New submission from Krzysztof Szawala :
I am using optparse for command-line parameters parsing. To follow
common naming convention I defined -d (minus followed by a single
character option) and --debug (double minus followed by a word).
It looks like optparse doesn't complain when -
New submission from Krzysztof Szawala :
I am using optparse for command-line parameters parsing. To follow
common naming convention I defined -d (minus followed by a single
character option) and --debug (double minus followed by a word).
It looks like optparse doesn't complain when -