Author paul.j3
Recipients akvadrako, bethard, chris.jerdonek, danielsh, paul.j3
Date 2018-02-14.19:39:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This is another expression of the bigger problem of handling arguments that look like flags.  In optparse the 'nargs' (or equivalent, it doesn't handle positionals), control how many arguments an Option takes, regardless of their form.  In argparse, the distinction between a option (flag) and argument has priority.  So it is difficult to treat strings like '--def' as a plain argument.  The default behavior is to treat it as an optional flag.
Date User Action Args
2018-02-14 19:39:50paul.j3setrecipients: + paul.j3, bethard, chris.jerdonek, danielsh, akvadrako
2018-02-14 19:39:50paul.j3setmessageid: <>
2018-02-14 19:39:50paul.j3linkissue17050 messages
2018-02-14 19:39:50paul.j3create