[issue9044] [optparse] confusion over an option and its value without any space in between

2010-06-21 Thread Krzysztof Szawala
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

[issue6985] range() fails with long integers

2009-09-24 Thread Krzysztof Szawala
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

[issue4640] optparse - dosn't distinguish between '--option' and '-option'

2008-12-15 Thread Krzysztof Szawala
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

[issue4642] optparse - dosn't distinguish between '--option' and '-option'

2008-12-12 Thread Krzysztof Szawala
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 -

[issue4641] optparse - dosn't distinguish between '--option' and '-option'

2008-12-12 Thread Krzysztof Szawala
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 -

[issue4640] optparse - dosn't distinguish between '--option' and '-option'

2008-12-12 Thread Krzysztof Szawala
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 -