Martin v. Löwis <mar...@v.loewis.de> added the comment: > Why I considered the existing translation incorrect was because it > translates something which was a tuple of types in Python 2.x into a > type of Python 3.x. I fail to see how this can be useful.
It would translate "isinstance(x, types.StringTypes)" correctly. I agree that translating to a tuple would be correct in more cases. _______________________________________ 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