summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-03-12 07:38:11 (GMT)
committerGitHub <noreply@github.com>2020-03-12 07:38:11 (GMT)
commitc7d2d69d95b263ee5f83511bc6fbe53acdc24ea3 (patch)
tree216d0a5fa669354114a2500bc0cd0d623d61de44 /Misc
parent1dd3794b19cfec448e5a55d8d01efd6bdb5a1169 (diff)
downloadcpython-c7d2d69d95b263ee5f83511bc6fbe53acdc24ea3.zip
cpython-c7d2d69d95b263ee5f83511bc6fbe53acdc24ea3.tar.gz
cpython-c7d2d69d95b263ee5f83511bc6fbe53acdc24ea3.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/C API/2020-03-12-00-27-26.bpo-39884.CGOJBO.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2020-03-12-00-27-26.bpo-39884.CGOJBO.rst b/Misc/NEWS.d/next/C API/2020-03-12-00-27-26.bpo-39884.CGOJBO.rst
new file mode 100644
index 0000000..c65dfdc
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2020-03-12-00-27-26.bpo-39884.CGOJBO.rst
@@ -0,0 +1,2 @@
+:c:func:`PyDescr_NewMethod` and :c:func:`PyCFunction_NewEx` now include the
+method name in the SystemError "bad call flags" error message to ease debug.