> 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.
Ah, no problem. Thanks for checking up on that. > I still think 2 years are enough to removal. Hmm, okay. At the least though, it does mean we have to be a bit more vigilant in ensuring that everyone has had a chance to migrate from those APIs, and delaying the removal if not. On Sun, Jun 14, 2020 at 9:34 PM Inada Naoki <songofaca...@gmail.com> wrote: > On Sat, Jun 13, 2020 at 8:20 PM Inada Naoki <songofaca...@gmail.com> > wrote: > > > > 2020年6月13日(土) 20:12 Kyle Stanley <aeros...@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, >
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/IKT3F2Q2CWFCRYWBKQYAL2DOZJFKQK2R/ Code of Conduct: http://python.org/psf/codeofconduct/