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 Drekin
Recipients Drekin, doughellmann, georg.brandl, mriedem, saschpe, vstinner
Date 2016-06-13.19:15:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Recently, I was also hit by this when trying to autoset `sys.argv` to a list of Unicode string (see ).

It would be nice to have this fixed. It seems to me (I may be wrong) that every occurence of `isinstance(…, str)` is a potential bug in Python 2.7. Either it should be spelled out as `isinstance(…, bytes)` or there should be `isinstance(…, types.StringTypes)` or even `isinstance(…, unicode)`.
Date User Action Args
2016-06-13 19:15:17Drekinsetrecipients: + Drekin, georg.brandl, vstinner, doughellmann, saschpe, mriedem
2016-06-13 19:15:17Drekinsetmessageid: <>
2016-06-13 19:15:17Drekinlinkissue19570 messages
2016-06-13 19:15:17Drekincreate