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 BreamoreBoy, christian.heimes, ezio.melotti, ideasman42, pitrou, python-dev, vstinner
Date 2015-01-26.15:48:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1422287304.78.0.304613288648.issue15859@psf.upfronthosting.co.za>
In-reply-to
Content
I applied fix_unicode_v2.diff to Python 3.5.

For older Python versions, it's easy to workaround this issue: ensure explicitly that your object is a Unicode object using PyUnicode_Check().

You may write your function to call PyUnicode_EncodeFSDefault() with a PyUnicode_Check() check.

I prefer to not touch the stable 3.4 branch.
History
Date User Action Args
2015-01-26 15:48:24vstinnersetrecipients: + vstinner, pitrou, christian.heimes, ezio.melotti, ideasman42, BreamoreBoy, python-dev
2015-01-26 15:48:24vstinnersetmessageid: <1422287304.78.0.304613288648.issue15859@psf.upfronthosting.co.za>
2015-01-26 15:48:24vstinnerlinkissue15859 messages
2015-01-26 15:48:24vstinnercreate