[issue14449] argparse optional arguments should follow getopt_long(3)

2012-07-21 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: I don't think this is going to change. It's basically a consequence of having a unified handling of nargs='?', nargs='*', nargs='+', etc. These will all consume as many arguments as they can, and argparse doesn't distinguish between

[issue14449] argparse optional arguments should follow getopt_long(3)

2012-04-01 Thread Ernest N. Mamikonyan
Ernest N. Mamikonyan ernest.mamikon...@gmail.com added the comment: Yes, it is incompatible. But that's because the current behavior is incompatible with standard (getopt_long(3)) practice. Or perhaps, you can add another option that implements the optional argument semantics of GNU's

[issue14449] argparse optional arguments should follow getopt_long(3)

2012-03-29 Thread Ernest N. Mamikonyan
Changes by Ernest N. Mamikonyan ernest.mamikon...@gmail.com: -- title: argparse optional arguments sh - argparse optional arguments should follow getopt_long(3) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14449

[issue14449] argparse optional arguments should follow getopt_long(3)

2012-03-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: If I understand correctly, this would be a backward incompatible change, so I doubt it will be accepted. Maybe there's some other way to achieve the same end? -- nosy: +bethard, r.david.murray