[stdlib-sig] Maintenance of optparse

Antoine Pitrou solipsis at pitrou.net
Tue Sep 15 21:09:11 CEST 2009


Le mardi 15 septembre 2009 à 11:44 -0700, Armin Ronacher a écrit :
> 
> I would take over this task if the following criteria are met:
> 
> - I'm allowed to modernize optparse after a discussion with python-dev
>   in a backwards compatible way.
> - I'm allowed to refactor the code
> - make the i18n support of the module more pluggable which would allow
>   specifying a custom translations instance instead of using the global
>   gettext function.

These all look fine and even welcome.

> - argparse would not enter the standard library

This one doesn't. This is a kind of "you are either with me, or against
me" argument. While I would favour improving optparse over including
argparse, I don't think we can commit to never include argparse, just
because you asked for it.

Please note that if you do improve optparse, the bar for including
argparse will be much higher anyway. Perhaps people won't even ask for
it, seeing that optparse has become sufficient for them.

Regards

Antoine.




More information about the stdlib-sig mailing list