This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hagen
Recipients hagen
Date 2009-03-05.14:48:45
SpamBayes Score 3.7919406e-05
Marked as misclassified No
Message-id <1236264531.78.0.371254009899.issue5425@psf.upfronthosting.co.za>
In-reply-to
Content
In Python 2.6 we have

>>> types.StringTypes
(<type 'str'>, <type 'unicode'>)

but 2to3 translates "types.StringTypes" into "str", which is obviously
wrong. The attached patch changes it into "(str, bytes)".
History
Date User Action Args
2009-03-05 14:48:52hagensetrecipients: + hagen
2009-03-05 14:48:51hagensetmessageid: <1236264531.78.0.371254009899.issue5425@psf.upfronthosting.co.za>
2009-03-05 14:48:47hagenlinkissue5425 messages
2009-03-05 14:48:47hagencreate