[issue5425] 2to3 wrong for types.StringTypes

Hagen Fürstenau report at bugs.python.org
Sat Mar 7 10:42:45 CET 2009


Hagen Fürstenau <hfuerstenau at gmx.net> added the comment:

I can see the merit of not including "bytes" in StringTypes, but then
the translation of StringType should be changed accordingly. How about
changing the present

StringType -> bytes
StringTypes -> str

into

StringType -> str
StringTypes -> (str,)

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


More information about the Python-bugs-list mailing list