Serhiy Storchaka added the comment:

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.

keywords: +patch
nosy: +larry
stage:  -> patch review
versions: +Python 3.4
Added file:

Python tracker <>
Python-bugs-list mailing list

Reply via email to