This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients Bryan, paul.j3, rhettinger, xtreak
Date 2020-06-23.08:47:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1592902043.67.0.632667051457.issue41087@roundup.psfhosted.org>
In-reply-to
Content
There is a documentation note on type casting along with an example similar to the report https://docs.python.org/3.8/library/argparse.html#default

> If the default value is a string, the parser parses the value as if it were a command-line argument. In particular, the parser applies any type conversion argument, if provided, before setting the attribute on the Namespace return value. Otherwise, the parser uses the value as is:
History
Date User Action Args
2020-06-23 08:47:23xtreaksetrecipients: + xtreak, rhettinger, paul.j3, Bryan
2020-06-23 08:47:23xtreaksetmessageid: <1592902043.67.0.632667051457.issue41087@roundup.psfhosted.org>
2020-06-23 08:47:23xtreaklinkissue41087 messages
2020-06-23 08:47:23xtreakcreate