]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39884: Add method name in "bad call flags" error (GH-18944)
authorVictor Stinner <vstinner@python.org>
Thu, 12 Mar 2020 07:38:11 +0000 (08:38 +0100)
committerGitHub <noreply@github.com>
Thu, 12 Mar 2020 07:38:11 +0000 (08:38 +0100)
commitc7d2d69d95b263ee5f83511bc6fbe53acdc24ea3
tree216d0a5fa669354114a2500bc0cd0d623d61de44
parent1dd3794b19cfec448e5a55d8d01efd6bdb5a1169
bpo-39884: Add method name in "bad call flags" error (GH-18944)

PyDescr_NewMethod() and PyCFunction_NewEx() now include the method
name in the SystemError "bad call flags" error message to ease debug.
Misc/NEWS.d/next/C API/2020-03-12-00-27-26.bpo-39884.CGOJBO.rst [new file with mode: 0644]
Objects/descrobject.c
Objects/methodobject.c