[Python-Dev] bug or feature? fixing argparse's default help value for version actions (original) (raw)

Steven Bethard steven.bethard at gmail.com
Thu May 20 18🔞45 CEST 2010


Sorry I haven't had time to get around to the argparse issues. I should have time this weekend. I need a release manager call on one of the issues though. Two things I assume are fine to fix at this stage:

One thing I'm not sure about:

help="show program's version number and exit")

With the fixed default value you would only have to write:

parser.add_argument('-V', action='version', version='')

Can this be considered a bug, i.e. something that can be committed before the RC? Or does it need to be considered a feature, i.e. at this point can never be added to Python 2.7?

Thanks, and sorry again for not having time for this until now,

Steve

Where did you get that preposterous hypothesis? Did Steve tell you that? --- The Hiphopopotamus



More information about the Python-Dev mailing list