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 lemburg, vstinner
Date 2011-03-02.01:05:43
SpamBayes Score 3.7731227e-06
Marked as misclassified No
Message-id <1299027959.18.0.610588602405.issue8923@psf.upfronthosting.co.za>
In-reply-to
Content
Fixed in Python 3.3: r88708 removes errors argument of _PyUnicode_AsDefaultEncodedString(), r88709 caches the result of str.encode().

> replace all uses of _PyUnicode_AsDefaultEncodedString()
> with PyUnicode_AsUTF8String()

It makes the code more complex because PyUnicode_AsUTF8String() increments the reference counter. I prefer to keep _PyUnicode_AsDefaultEncodedString().
History
Date User Action Args
2011-03-02 01:05:59vstinnersetrecipients: + vstinner, lemburg
2011-03-02 01:05:59vstinnersetmessageid: <1299027959.18.0.610588602405.issue8923@psf.upfronthosting.co.za>
2011-03-02 01:05:43vstinnerlinkissue8923 messages
2011-03-02 01:05:43vstinnercreate