[issue9161] add_option in optparse no longer accepts unicode string

Craig McQueen report at bugs.python.org
Mon Jul 5 07:57:01 CEST 2010


Craig McQueen <python at craig.mcqueen.id.au> added the comment:

My program currently uses ASCII options, so I can change the Unicode string parameter to byte string. The optparse module still seems to match the option against the incoming Unicode argv, I guess by implicit string conversion.

----------

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


More information about the Python-bugs-list mailing list