summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-08-16 23:53:26 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-08-16 23:53:26 (GMT)
commitc4085c847065464de0255c806314e136cd260bdb (patch)
tree7b5822c2ecb7f7f6f73171b29168ae64b9a79ac4 /Misc
parent51be6e0a0f21ece0fbd6c046616c5b504246b70f (diff)
downloadcpython-c4085c847065464de0255c806314e136cd260bdb.zip
cpython-c4085c847065464de0255c806314e136cd260bdb.tar.gz
cpython-c4085c847065464de0255c806314e136cd260bdb.tar.bz2
complain when a class variable shadows a name in __slots__ (closes #12766)
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 038dc90..4cf9dda 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@ What's New in Python 3.3 Alpha 1?
Core and Builtins
-----------------
+- Issue #12766: Raise an ValueError when creating a class with a class variable
+ that conflicts with a name in __slots__.
+
- Issue #12266: Fix str.capitalize() to correctly uppercase/lowercase
titlecased and cased non-letter characters.