[issue9161] add_option in optparse no longer accepts unicode string

R. David Murray report at bugs.python.org
Mon Jul 5 17:52:51 CEST 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

Too bad you didn't find this on one of the RCs.  The fix will have to wait for 2.7.1 now.

The line you originally quote as changing was, as far as I can tell, the original code (it enters our repository on 2006-04-22 in r45654 when optparse was upgraded to version 1.5.1 of optik).  The change to the plural form in that line was made for 2.6rc1 in r71345, possibly inadvertently since that changeset was the bump to rc1.

It would seem reasonable to change this to match 2.6 for 2.7.1, since as far as I know no bugs have been reported against it in 2.6, and it is unlikely to break working code in 2.7.

As for the more extensive problems, now that argparse is part of the standard library it would seem better to devote any development resources to it.  Can you test your issues against argparse, and open a new issue if it also has problems?

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9161>
_______________________________________


More information about the Python-bugs-list mailing list