[issue4640] optparse doesn’t disallow adding one-da sh long options (“-option”)

2010-11-01 Thread Steven Bethard
Changes by Steven Bethard : -- nosy: -bethard ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue4640] optparse doesn’t disallow adding one-da sh long options (“-option”)

2010-07-23 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -tjreedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue4640] optparse doesn’t disallow adding one-da sh long options (“-option”)

2010-07-23 Thread R. David Murray
R. David Murray added the comment: In that case you are correct, it does not apply to argparse. -- ___ Python tracker ___ ___ Python-b

[issue4640] optparse doesn’t disallow adding one-da sh long options (“-option”)

2010-07-23 Thread Steven Bethard
Steven Bethard added the comment: In argparse, "-debug" is a perfectly valid flag (you're not required to have "--debug", and you can even have "+debug" if you want and you specify it correctly), so unless I misunderstand what the bug is, this doesn't apply to argparse. -- _

[issue4640] optparse doesn’t disallow adding one-da sh long options (“-option”)

2010-07-04 Thread R. David Murray
R. David Murray added the comment: I didn't commit a unit test for the revised subject, my unit test was for the previous misunderstood diagnosis. So a unit test for disallowing single dash long options in add_option is still needed. Note that this appears (at least on a quick test) to apply

[issue4640] optparse doesn’t disallow adding one-da sh long options (“-option”)

2010-07-04 Thread Éric Araujo
Éric Araujo added the comment: David committed a unit test in r82233. Who wants to propose a patch now? -- resolution: -> accepted stage: unit test needed -> needs patch ___ Python tracker

[issue4640] optparse doesn’t disallow adding one-da sh long options (“-option”)

2010-06-26 Thread Éric Araujo
Changes by Éric Araujo : -- title: optparse doesn't distinguish between '--option' and '-option' -> optparse doesn’t disallow adding one-dash long options (“-option”) ___ Python tracker