Martin Marcher wrote:

> Hi,
> 
> On 12/6/07, Neal Becker <[EMAIL PROTECTED]> wrote:
>> configparse looks like what I want, but it seems last commit was >2years
>> ago.
>>
>> What is the best choice?
> 
> that seems like configparse is the best choice. 

Thanks.  I see something right off that should be improved in configparse.

In OptionParser.__init__, a hard-coded list of arguments is passed to the
base _OptionParser.  This (predictably) is no longer current - OptionParser
now has one more optional argument.

I suspect the correct thing to do here is to allow configparse.OptionParser
to accept error_handler only as a keyword arg, and then strip it out,
passing all other args to _OptionParser.__init__.

   

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to