summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorcolorfulappl <colorfulappl@qq.com>2022-11-24 19:56:50 (GMT)
committerGitHub <noreply@github.com>2022-11-24 19:56:50 (GMT)
commit0da728387c99fe6c127b070f2d250dc5bdd62ee5 (patch)
treed160fe884cbaacdeb17c72e8fc8b8d23cec249dd /Misc
parent351842b46a7cb3c3f23b200d532cf29e4557ad4b (diff)
downloadcpython-0da728387c99fe6c127b070f2d250dc5bdd62ee5.zip
cpython-0da728387c99fe6c127b070f2d250dc5bdd62ee5.tar.gz
cpython-0da728387c99fe6c127b070f2d250dc5bdd62ee5.tar.bz2
gh-64490: Fix bugs in argument clinic varargs processing (#32092)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Tools-Demos/2022-08-11-09-58-15.gh-issue-64490.PjwhM4.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tools-Demos/2022-08-11-09-58-15.gh-issue-64490.PjwhM4.rst b/Misc/NEWS.d/next/Tools-Demos/2022-08-11-09-58-15.gh-issue-64490.PjwhM4.rst
new file mode 100644
index 0000000..4a308a9
--- /dev/null
+++ b/Misc/NEWS.d/next/Tools-Demos/2022-08-11-09-58-15.gh-issue-64490.PjwhM4.rst
@@ -0,0 +1,7 @@
+Argument Clinic varargs bugfixes
+
+* Fix out-of-bounds error in :c:func:`!_PyArg_UnpackKeywordsWithVararg`.
+* Fix incorrect check which allowed more than one varargs in clinic.py.
+* Fix miscalculation of ``noptargs`` in generated code.
+* Do not generate ``noptargs`` when there is a vararg argument and no optional argument.
+