| CARVIEW |
Select Language
HTTP/2 200
server: nginx
date: Sat, 27 Dec 2025 20:30:41 GMT
content-type: text/html; charset=utf-8
expires: Sat, 27 Dec 2025 20:30:40 GMT
cache-control: no-cache
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
content-encoding: gzip
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=315360000; includeSubDomains; preload
Message 166175 - Python tracker
- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
Message166175
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 | <1342995382.19.0.520849761123.issue14191@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-07-22 22:16:22 | bethard | set | recipients: + bethard, v+python, r.david.murray, docs@python, guilherme-pg |
| 2012-07-22 22:16:22 | bethard | set | messageid: <1342995382.19.0.520849761123.issue14191@psf.upfronthosting.co.za> |
| 2012-07-22 22:16:18 | bethard | link | issue14191 messages |
| 2012-07-22 22:16:18 | bethard | create | |
