bpo-36346: Emit DeprecationWarning for PyArg_Parse() with 'u' or 'Z'. by methane · Pull Request #20927 · python/cpython
methane
changed the title
bpo-36346: Raise DeprecationWarning in deprecated usages.
bpo-36346: Raise DeprecationWarning for getargs with 'u', 'Z'
methane
changed the title
bpo-36346: Raise DeprecationWarning for getargs with 'u', 'Z'
bpo-36346: Emt DeprecationWarning for getargs with 'u', 'Z'
methane
changed the title
bpo-36346: Emt DeprecationWarning for getargs with 'u', 'Z'
bpo-36346: Emit DeprecationWarning for getargs with 'u', 'Z'
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'.
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