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 Michael.Edwards
Recipients Michael.Edwards
Date 2012-12-05.13:28:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354714087.56.0.314171831729.issue16614@psf.upfronthosting.co.za>
In-reply-to
Content
When running parse_args, ArgumentParser is liberal in accepting parameters. Partial matches will be accepted as arguments

(in the included example, --test bob, --tester bob, --testers bob all set the testers argument)

Perhaps this is documented, but it was super unexpected for me.
History
Date User Action Args
2012-12-05 13:28:07Michael.Edwardssetrecipients: + Michael.Edwards
2012-12-05 13:28:07Michael.Edwardssetmessageid: <1354714087.56.0.314171831729.issue16614@psf.upfronthosting.co.za>
2012-12-05 13:28:07Michael.Edwardslinkissue16614 messages
2012-12-05 13:28:06Michael.Edwardscreate