Message278554
| Author |
serhiy.storchaka |
| Recipients |
benjamin.peterson, ezio.melotti, larry, lemburg, ncoghlan, serhiy.storchaka, vstinner, xiang.zhang |
| Date |
2016年10月13日.09:59:54 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1476352795.11.0.833566804993.issue28426@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I propose following:
1) Fix a crash in PyUnicode_AsDecodedObject by removing unicode_result() in all maintained 3.x versions (starting from 3.4? or 3.3?).
2) Deprecate PyUnicode_AsDecodedObject, PyUnicode_AsDecodedUnicode and PyUnicode_AsEncodedUnicode in 3.6, make they always failing in 3.7 and remove them in future versions. They shouldn't be widely used since they are not documented, PyUnicode_AsDecodedObject already is deprecated in 2.7, and the only supported standard encoding is rot13. |
|