Jesse Hostetler added the comment:
I suppose desired behavior would be to accept the argument only if it can be
converted to int without loss of information.
--
___
Python tracker
<https://bugs.python.org/issue34
New submission from Jesse Hostetler :
The 'argparse' module gives a parse error for integer arguments written in
scientific notation. I would expect this to work, since integers can be
constructed from literals in scientific notation.
Example (also attached):
import argparse
foo = int(1e3