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 wolma
Recipients ajstewart, wolma
Date 2016-11-18.16:16:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
try this:
parser.add_argument('file', nargs='?', default = argparse.SUPPRESS)

I don't think this is a bug. The default for the default parameter is None so the behavior is consistent with the documentation.
Date User Action Args
2016-11-18 16:16:36wolmasetrecipients: + wolma, ajstewart
2016-11-18 16:16:36wolmasetmessageid: <>
2016-11-18 16:16:36wolmalinkissue28734 messages
2016-11-18 16:16:36wolmacreate