diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-01-25 04:52:30 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-01-25 04:52:30 (GMT) |
commit | 021bb87845e5727b370d6d05986d08f930bcc664 (patch) | |
tree | 05e20948c027648ae6fc9ef8a67e297da50052ec /Misc | |
parent | 66964cd4771b55b7d3c06aa3b10f16344e07383e (diff) | |
download | cpython-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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, |