]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36346: Emit DeprecationWarning for PyArg_Parse() with 'u' or 'Z'. (GH-20927)
authorInada Naoki <songofacandy@gmail.com>
Mon, 22 Feb 2021 13:11:48 +0000 (22:11 +0900)
committerGitHub <noreply@github.com>
Mon, 22 Feb 2021 13:11:48 +0000 (22:11 +0900)
commit91a639a094978882caef91915c932fbb2fc347de
tree29ee9246d022b40a529c881e8deb0d6503b4d993
parent5a4aa4c03e27ca5007b86c9c1ee62c77ad08a120
bpo-36346: Emit DeprecationWarning for PyArg_Parse() with 'u' or 'Z'. (GH-20927)

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

See PEP 623.
Lib/test/test_getargs2.py
Lib/test/test_unicode.py
Misc/NEWS.d/next/Core and Builtins/2021-02-22-19-00-00.bpo-36346.uAoni0.rst [new file with mode: 0644]
Python/getargs.c