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: http://bugs.python.org/file45070/PyUnicode_AsDecodedObject-crash.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28426> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com