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 bmw
Recipients bmw, docs@python
Date 2020-12-15.18:49:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608058165.01.0.505230302489.issue42650@roundup.psfhosted.org>
In-reply-to
Content
argparse internally sets dest=SUPPRESS in action classes like _HelpAction and _VersionAction to prevent an attribute from being created for that option on the resulting namespace.

Can users creating custom Action classes also use this functionality without worrying about it suddenly breaking in a new version of Python? If so, can we document this functionality? I'd be happy to submit a PR.
History
Date User Action Args
2020-12-15 18:49:25bmwsetrecipients: + bmw, docs@python
2020-12-15 18:49:25bmwsetmessageid: <1608058165.01.0.505230302489.issue42650@roundup.psfhosted.org>
2020-12-15 18:49:24bmwlinkissue42650 messages
2020-12-15 18:49:24bmwcreate