[Python-Dev] Re: When can we remove wchar_t* cache from string?

2020年6月14日 18:38:02 -0700

On Sat, Jun 13, 2020 at 8:20 PM Inada Naoki <[email protected]> wrote:
>
> 2020年6月13日(土) 20:12 Kyle Stanley <[email protected]>:
>>
>> > 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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/4GVB4LK63VRCEEGW7RYRC7TAZKTWSLPH/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to