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 vstinner
Recipients Nathan Buckner, ezio.melotti, michael.foord, rbcollins, vstinner
Date 2017-10-30.15:44:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509378250.06.0.213398074469.issue31273@psf.upfronthosting.co.za>
In-reply-to
Content
> Could be fixed with by changing to unicode(e)

Replacing str(e) with unicode(e) can introduce Unicode errors regressions. I'm not confident in doing such change late in the old 2.7 branch.

I suggest you to only use native strings (byte strings, "str" type) in Python 2, and slowly upgrade your application to Python 3.

I propose to close this issue as WONT FIX.
History
Date User Action Args
2017-10-30 15:44:10vstinnersetrecipients: + vstinner, rbcollins, ezio.melotti, michael.foord, Nathan Buckner
2017-10-30 15:44:10vstinnersetmessageid: <1509378250.06.0.213398074469.issue31273@psf.upfronthosting.co.za>
2017-10-30 15:44:10vstinnerlinkissue31273 messages
2017-10-30 15:44:10vstinnercreate