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 paul.j3
Recipients Michael.Edwards, chris.jerdonek, eric.araujo, idank, jaraco, paul.j3, rr2do2
Date 2013-04-17.20:33:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366230837.86.0.0358928161189.issue14174@psf.upfronthosting.co.za>
In-reply-to
Content
By the way, parser.parse_args() uses parse_known_arg().  parse_known_args returns a Namespace and a list of unknown arguments.  If that list is empty, parse_args returns the Namespace.  If the list is not empty, parse_args raises an error.

So parse_known_args does not change how arguments are parsed.  It just changes how the unknowns are handled.
History
Date User Action Args
2013-04-17 20:33:57paul.j3setrecipients: + paul.j3, jaraco, eric.araujo, chris.jerdonek, idank, rr2do2, Michael.Edwards
2013-04-17 20:33:57paul.j3setmessageid: <1366230837.86.0.0358928161189.issue14174@psf.upfronthosting.co.za>
2013-04-17 20:33:57paul.j3linkissue14174 messages
2013-04-17 20:33:57paul.j3create