bpo-36346: Emit DeprecationWarning for PyArg_Parse() with 'u' or 'Z'. by methane · Pull Request #20927 · python/cpython (original) (raw)

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation2 Commits3 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

methane

@methane

Argument Clinic should be updated before this pull request.

@methane methane changed the titlebpo-36346: Raise DeprecationWarning in deprecated usages. bpo-36346: Raise DeprecationWarning for getargs with 'u', 'Z'

Jun 17, 2020

methane

@methane methane changed the titlebpo-36346: Raise DeprecationWarning for getargs with 'u', 'Z' bpo-36346: Emt DeprecationWarning for getargs with 'u', 'Z'

Feb 22, 2021

@methane methane changed the titlebpo-36346: Emt DeprecationWarning for getargs with 'u', 'Z' bpo-36346: Emit DeprecationWarning for getargs with 'u', 'Z'

Feb 22, 2021

@methane

Raise DeprecationWarning when:

We can not use C level deprecation because these API will be not removed.

@methane

@methane

@methane methane changed the titlebpo-36346: Emit DeprecationWarning for getargs with 'u', 'Z' bpo-36346: Emit DeprecationWarning for PyArg_Parse() with 'u' or 'Z'.

Feb 22, 2021

adorilson pushed a commit to adorilson/cpython that referenced this pull request

Mar 13, 2021

@methane @adorilson

…pythonGH-20927)

Emit DeprecationWarning when PyArg_Parse*() is called with 'u', 'Z' format.

See PEP 623.