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 eric.smith
Recipients Clint Olsen, eric.smith
Date 2021-02-10.14:27:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1612967261.53.0.0460436047504.issue43192@roundup.psfhosted.org>
In-reply-to
Content
Providing a default value does not imply setting nargs, so you need to specify both. I think it's not clear what nargs would default to, if you wanted to change the behavior if default= is supplied.. In your example you probably want nargs='?', not '*'.
History
Date User Action Args
2021-02-10 14:27:41eric.smithsetrecipients: + eric.smith, Clint Olsen
2021-02-10 14:27:41eric.smithsetmessageid: <1612967261.53.0.0460436047504.issue43192@roundup.psfhosted.org>
2021-02-10 14:27:41eric.smithlinkissue43192 messages
2021-02-10 14:27:41eric.smithcreate