summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2008-01-16 19:37:33 (GMT)
committerThomas Heller <theller@ctypes.org>2008-01-16 19:37:33 (GMT)
commit02ec289f3e16ee6b00ecf7ec8f8e0f2a3e1ad152 (patch)
tree8cbd8dd33cbe3bcad02e4adf86b57e3a27788d7a /Misc
parent902d30752fa79fa787114b3f2cde37513909bc57 (diff)
downloadcpython-02ec289f3e16ee6b00ecf7ec8f8e0f2a3e1ad152.zip
cpython-02ec289f3e16ee6b00ecf7ec8f8e0f2a3e1ad152.tar.gz
cpython-02ec289f3e16ee6b00ecf7ec8f8e0f2a3e1ad152.tar.bz2
Raise a TypeError if conflicting positional and named arguments are
passed to a Structure or Union constructor.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 0a7d00c..29bd3dd 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -364,6 +364,9 @@ Core and builtins
Library
-------
+- Issue #1831: ctypes now raises a TypeError if conflicting positional
+ and named arguments are passed to a Structure or Union initializer.
+
- Convert the internal ctypes array type cache to a WeakValueDict so
that array types do not live longer than needed.