I commented https://github.com/python/peps/pull/1462 as a review.
Le mer. 24 juin 2020 à 10:21, Inada Naoki firstname.lastname@example.org a écrit :
Do you mean APIs relating to Py_UNICODE, but not relating to wstr nor legacy Unicode? (e.g. PyLong_FromUnicode, PyUnicode_Encode, etc...)
We can remove them one-by-one basis.
Oh, I forgot about these. I suggest to deprecate all of them in Python 3.10 and remove them in Python 3.12. Or is there any good reason to keep them?
Since they are independent from wstr and legacy Unicode object, I don't want to handle them in this PEP.