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 andersk
Recipients andersk, bethard, eric.smith, nelhage, r.david.murray
Date 2010-07-22.23:43:52
SpamBayes Score 0.00010646821
Marked as misclassified No
Message-id <1279842239.68.0.254845284292.issue9334@psf.upfronthosting.co.za>
In-reply-to
Content
> Though in general I find argparse's default behavior more useful.

I’m not sure I understand.  Why is it useful for an option parsing library to heuristically decide, by default, that I didn’t actually want to pass in the valid option that I passed in?  Shouldn’t that be up to the caller (or up to the program, if it explicitly decides to reject such arguments)?

Keep in mind that the caller might be another script instead of a user.
History
Date User Action Args
2010-07-22 23:43:59andersksetrecipients: + andersk, bethard, eric.smith, r.david.murray, nelhage
2010-07-22 23:43:59andersksetmessageid: <1279842239.68.0.254845284292.issue9334@psf.upfronthosting.co.za>
2010-07-22 23:43:53andersklinkissue9334 messages
2010-07-22 23:43:53anderskcreate