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 Leon Avery, paul.j3, steven.daprano
Date 2017-08-04.02:55:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The earlier issue for '--' as arguement

With the patch I suggested there '-f--' and '--foo=--' work as arguments.  '--foo --' is still interpreted as a positionals switch.

In optparse parsing, a flagged option gets all the remaining strings, and consume what it needs.  In the argparse parser, strings are classed as flag and argument and '--'.  The top level allocates strings to Actions.  '--' is handled at the top level.  This difference in parsing makes it impossible to complete replicate POSIX action.

See also
Date User Action Args
2017-08-04 02:55:15paul.j3setrecipients: + paul.j3, steven.daprano, Leon Avery
2017-08-04 02:55:15paul.j3setmessageid: <>
2017-08-04 02:55:15paul.j3linkissue31012 messages
2017-08-04 02:55:14paul.j3create