Hagen Fürstenau <hfuerste...@gmx.net> added the comment: The automatic conversion can't be perfect in all cases, but I think my second suggestion is more in line with the other transformations done by 2to3 (string literals, "str", "basestring" etc.).
I propose applying the second patch, but don't care enough to argue for it much more if it's rejected. ---------- message_count: 7.0 -> 8.0 status: closed -> open Added file: http://bugs.python.org/file13265/2to3_StringTypes_2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5425> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com