summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-01-25 04:52:30 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2014-01-25 04:52:30 (GMT)
commit021bb87845e5727b370d6d05986d08f930bcc664 (patch)
tree05e20948c027648ae6fc9ef8a67e297da50052ec /Misc
parent66964cd4771b55b7d3c06aa3b10f16344e07383e (diff)
downloadcpython-021bb87845e5727b370d6d05986d08f930bcc664.zip
cpython-021bb87845e5727b370d6d05986d08f930bcc664.tar.gz
cpython-021bb87845e5727b370d6d05986d08f930bcc664.tar.bz2
Issue #20381: Fix sanity checking on default arguments when c_default is
also specified.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index a8cd06c..a8e251a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -141,6 +141,11 @@ Tests
Tools/Demos
-----------
+
+- Issue #20381: Argument Clinic now sanity checks the default argument when
+ c_default is also specified, providing a nice failure message for
+ disallowed values.
+
- Issue #20189: Argument Clinic now ensures that parser functions for
__new__ are always of type newfunc, the type of the tp_new slot.
Similarly, parser functions for __init__ are now always of type initproc,