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
…pythonGH-20927) Emit DeprecationWarning when PyArg_Parse*() is called with 'u', 'Z' format. See PEP 623.