← 返回首页
bpo-36346: Emit DeprecationWarning for PyArg_Parse() with 'u' or 'Z'. by methane · Pull Request #20927 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

bpo-36346: Emit DeprecationWarning for PyArg_Parse() with 'u' or 'Z'.#20927

Merged
methane merged 3 commits into
python:masterfrom
methane:pep393-deprecate2
Feb 22, 2021
Merged

bpo-36346: Emit DeprecationWarning for PyArg_Parse() with 'u' or 'Z'.#20927
methane merged 3 commits into
python:masterfrom
methane:pep393-deprecate2

Conversation

methane commented Jun 17, 2020
edited
Loading

Copy link
Copy Markdown
Member

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

See PEP 623.

https://bugs.python.org/issue36346

methane commented Jun 17, 2020

Copy link
Copy Markdown
Member Author

Argument Clinic should be updated before this pull request.

methane changed the title bpo-36346: Raise DeprecationWarning in deprecated usages. bpo-36346: Raise DeprecationWarning for getargs with 'u', 'Z' Jun 17, 2020
Comment thread Modules/overlapped.c Outdated Show resolved Hide resolved
methane changed the title bpo-36346: Raise DeprecationWarning for getargs with 'u', 'Z' bpo-36346: Emt DeprecationWarning for getargs with 'u', 'Z' Feb 22, 2021
methane changed the title bpo-36346: Emt DeprecationWarning for getargs with 'u', 'Z' bpo-36346: Emit DeprecationWarning for getargs with 'u', 'Z' Feb 22, 2021
methane force-pushed the pep393-deprecate2 branch 4 times, most recently from 722268d to 4b9927a Compare February 22, 2021 10:01
Raise DeprecationWarning when: * PyArg_ParseTuple with 'u', 'Z' format. * PyUnicode_FromStringAndSize(NULL, size) We can not use C level deprecation because these API will be not removed.
methane changed the title bpo-36346: Emit DeprecationWarning for getargs with 'u', 'Z' bpo-36346: Emit DeprecationWarning for PyArg_Parse() with 'u' or 'Z'. Feb 22, 2021
methane merged commit 91a639a into python:master Feb 22, 2021
methane deleted the pep393-deprecate2 branch February 22, 2021 13:11
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
…pythonGH-20927) Emit DeprecationWarning when PyArg_Parse*() is called with 'u', 'Z' format. See PEP 623.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Footer

© 2026 GitHub, Inc.