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 khughitt
Recipients bethard, docs@python, eric.araujo, flox, khughitt, mapleoin, martin.panter, nstiurca, paul.j3, r.david.murray, sfllaw, tshepang
Date 2014-08-23.13:03:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1408798981.41.0.300454325537.issue15125@psf.upfronthosting.co.za>
In-reply-to
Content
Although it would be nice if the behavior were normalized between positional and optional args, it seems like doc patch would be the most straight-forward at this point. The down-side is that I suspect many people will assume the behavior for optional args, have it fail, and then consults the docs to see what happened.

I would suggest making the note pretty obvious or early on in the docs for argparse.
History
Date User Action Args
2014-08-23 13:03:01khughittsetrecipients: + khughitt, bethard, sfllaw, eric.araujo, r.david.murray, flox, docs@python, tshepang, martin.panter, paul.j3, nstiurca, mapleoin
2014-08-23 13:03:01khughittsetmessageid: <1408798981.41.0.300454325537.issue15125@psf.upfronthosting.co.za>
2014-08-23 13:03:01khughittlinkissue15125 messages
2014-08-23 13:03:01khughittcreate