Re: The bake-off

Greg Ward <[email protected]> Thu, 30 May 2002 15:19:33 -0400
Newsgroups gmane.comp.python.getopt
Message-ID <[email protected]>
On 30 May 2002, [email protected] said:
> if parser behaved like a list, then you could have
> 
> 	parser.append(Option("-n", type="int", dest="num_things"))
> 
> which strikes me as not clunky and still general.

If you want OptionParser to implement the sequence interface, submit a
patch.  I'm +0 on the idea, so I'd probably accept a well-written patch,
but I'm unlikely to bother implementing it myself.

        Greg
-- 
Greg Ward - Python bigot                                [email protected]
http://starship.python.net/~gward/
Know thyself.  If you need help, call the CIA.