Message279375
| 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. |
|