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 a_b
Recipients a_b, bethard, docs@python, eric.araujo, ezio.melotti, jayt, r.david.murray, tanqazx, xuanji
Date 2013-06-28.04:26:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372393584.91.0.0264729895372.issue9938@psf.upfronthosting.co.za>
In-reply-to
Content
The patch doesn't work for 3.3 (I think it's just because the line numbers are different), but looking over what the patch does, it looks like parse_known_args will return a value for args if there is an unrecognized argument, which will cause parse_args to call error() (it should raise ArgumentError instead).
History
Date User Action Args
2013-06-28 04:26:24a_bsetrecipients: + a_b, bethard, ezio.melotti, eric.araujo, r.david.murray, docs@python, jayt, xuanji, tanqazx
2013-06-28 04:26:24a_bsetmessageid: <1372393584.91.0.0264729895372.issue9938@psf.upfronthosting.co.za>
2013-06-28 04:26:24a_blinkissue9938 messages
2013-06-28 04:26:24a_bcreate