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 serhiy.storchaka
Recipients benjamin.peterson, ezio.melotti, larry, lemburg, ncoghlan, python-dev, serhiy.storchaka, vstinner, xiang.zhang
Date 2016-10-25.08:33:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477384396.13.0.108861399776.issue28426@psf.upfronthosting.co.za>
In-reply-to
Content
> BTW Serhiy, how about PyUnicode_AsEncodedObject? Not see it in your deprecate list.

Indeed. It is not such useless as other functions (that support only the rot13 encoding), but it can be replaced with either PyUnicode_AsEncodedString or PyCodec_Encode (both exists in 2.7).

Updated patch deprecates PyUnicode_AsEncodedObject too. Please make a review of warning messages, I'm not sure about the wording.
History
Date User Action Args
2016-10-25 08:33:16serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, ncoghlan, vstinner, larry, benjamin.peterson, ezio.melotti, python-dev, xiang.zhang
2016-10-25 08:33:16serhiy.storchakasetmessageid: <1477384396.13.0.108861399776.issue28426@psf.upfronthosting.co.za>
2016-10-25 08:33:16serhiy.storchakalinkissue28426 messages
2016-10-25 08:33:15serhiy.storchakacreate