zenlotus / argparse

Automatically exported from code.google.com/p/argparse
Other
0 stars 0 forks source link

Bug with negative numbers in scientific notation #88

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set up a parser with at least one optional -foo argument, and at least one 
required positional float argument.
2. Parse a command line with a negative number in scientific notation.
3. Profit?

What is the expected output? What do you see instead?

Expected: Proper acceptance of the negative number as the argument value.
Experienced: "error: the following arguments are required: [name of required 
arg]"

What version of the product are you using? On what operating system?

1.1 (included with Python 3.3), on Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by midnight...@gmail.com on 23 Nov 2013 at 11:59

GoogleCodeExporter commented 9 years ago
Never mind, reporting it in the wrong place.

Original comment by midnight...@gmail.com on 24 Nov 2013 at 12:04