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

_PyMethodDef_RawFastCallDict() and _PyMethodDef_RawFastCallKeywords()
now include the method name in the SystemError "bad call flags" error
message to ease debug.

(cherry picked from commit c7d2d69d95b263ee5f83511bc6fbe53acdc24ea3)
Misc/NEWS.d/next/C API/2020-03-12-00-27-26.bpo-39884.CGOJBO.rst [new file with mode: 0644]
Objects/call.c