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 r.david.murray
Recipients bethard, idank, r.david.murray
Date 2012-10-05.15:03:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349449382.27.0.957197529824.issue16142@psf.upfronthosting.co.za>
In-reply-to
Content
Looks like parse_known_args needs to be taught to not treat unknown text following an option as an argument if the option does not take an argument.  That would be in keeping with its mission, I think :)

There will still probably be ambiguous cases that will trip you up, but that should help.
History
Date User Action Args
2012-10-05 15:03:02r.david.murraysetrecipients: + r.david.murray, bethard, idank
2012-10-05 15:03:02r.david.murraysetmessageid: <1349449382.27.0.957197529824.issue16142@psf.upfronthosting.co.za>
2012-10-05 15:03:02r.david.murraylinkissue16142 messages
2012-10-05 15:03:01r.david.murraycreate