
On Sat, Jun 13, 2020 at 8:20 PM Inada Naoki <songofacandy@gmail.com> wrote:
2020年6月13日(土) 20:12 Kyle Stanley <aeros167@gmail.com>:
Additionally, raise DeprecationWarning runtime when these APIs are used.
So, just to clarify, current usage of these 7 unicode APIs does not emit any warnings and would only start doing so in 3.10?
They have been deprecated in C already. Compiler emits warning.
This additional proposal is adding runtime warning before removal.
I'm sorry, I was wrong. Py_DEPRECATED(3.3) is commented out for some APIs. So Python 3.8 doesn't show warning for them. I want to uncomment them in Python 3.9. https://github.com/python/cpython/pull/20878 As far as I grepped, most of PyPI packages use deprecated APIs because Cython generates it. Updating Cython will fix them. Some of them are straightforward and I have created an issue or sent pull request already. A few projects, pyScss and Genshi are not straightforward. But it is not too hard and I will help them. I still think 2 years are enough to removal. Regards,