[issue5425] 2to3 wrong for types.StringTypes

Benjamin Peterson report at bugs.python.org
Wed Mar 18 22:13:32 CET 2009


Benjamin Peterson <benjamin at python.org> added the comment:

I'm rejecting this patch again not because I think it's any worse than
the status quo (I think they're about equally incorrect/correct), but
because this is now released behavior and changing it may result in
backwards incompatibility. Also, people can easily remove this ambiguity
in a 2.x compatible fashion by explicitly listing the types (str,) or
(str, unicode) instead of using the types module.

----------
status: open -> closed

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


More information about the Python-bugs-list mailing list