[Python-Dev] argparse ugliness
Robert Kern
robert.kern at gmail.com
Tue Mar 9 18:46:17 CET 2010
On Tue, Mar 9, 2010 at 11:31, R. David Murray <rdmurray at bitdance.com> wrote:
> On Mon, 08 Mar 2010 15:35:46 -0600, Robert Kern <robert.kern at gmail.com> wrote:
>> On 2010-03-08 15:20 PM, Greg Ewing wrote:
>> > Mark Russell wrote:
>> >> Boolean flags are a common enough case that I'd be inclined to add a
>> >> wrapper method,
>> >>
>> >> parser.add_bool_argument('--plot')
>> >
>> > +1, this looks good.
>>
>> I've added it to the argparse bugtracker, along with my suggested spelling
>> add_flag():
>>
>> http://code.google.com/p/argparse/issues/detail?id=62
>
> Shouldn't argparse bugs/enhancement tickets be going to bugs.python.org
> now?
Probably. Having used the the argparse tracker before, though, it was
the first place I thought to file it.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Python-Dev
mailing list