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 bethard
Recipients bethard, docs@python, guilherme-pg, r.david.murray, v+python
Date 2012-07-22.22:16:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I created Issue 15427 for the parse_args documentation bug. So let's make this issue just about parsing intermixed arguments.

Yes, if someone would like to provide a patch for this, please create a method "parse_intermixed_args" rather than adding a boolean flag parameter. It should be basically equivalent to this code:

args, remaining_args = optionals.parse_known_args()
args = positionals.parse_args(remaining_args, args)

Except that it should give proper error messages. There should be some tests to make sure both that it parses things as expected and that it gives error messages as expected.
Date User Action Args
2012-07-22 22:16:22bethardsetrecipients: + bethard, v+python, r.david.murray, docs@python, guilherme-pg
2012-07-22 22:16:22bethardsetmessageid: <>
2012-07-22 22:16:18bethardlinkissue14191 messages
2012-07-22 22:16:18bethardcreate