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 leonard.gerard
Recipients bethard, chris.jerdonek, gfxmonk, leonard.gerard, martin.panter, paul.j3, tshepang, waltermundt
Date 2014-09-03.19:02:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1409770955.32.0.326679416068.issue15112@psf.upfronthosting.co.za>
In-reply-to
Content
It seems that delaying positional argument parsing after all optional arguments are parsed would be clean and robust.

My understanding is that optional arguments aren't ambiguous and should be processed first and removed from the arguments. Then the current pattern matching done for positional arguments would work well (in one try).

If you think this would be a better patch I can give it a try.
History
Date User Action Args
2014-09-03 19:02:35leonard.gerardsetrecipients: + leonard.gerard, bethard, gfxmonk, chris.jerdonek, tshepang, martin.panter, paul.j3, waltermundt
2014-09-03 19:02:35leonard.gerardsetmessageid: <1409770955.32.0.326679416068.issue15112@psf.upfronthosting.co.za>
2014-09-03 19:02:35leonard.gerardlinkissue15112 messages
2014-09-03 19:02:35leonard.gerardcreate