summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-05-15 21:17:25 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-05-15 21:17:25 (GMT)
commit1e93b060077db01ceca0cdbad00ff358fee6f104 (patch)
treea9812ecd17301e563a020e9d122e6a52d3b7fa3a /Misc
parentc032f16d181203e5df458b09c4583a6389f78331 (diff)
downloadcpython-1e93b060077db01ceca0cdbad00ff358fee6f104.zip
cpython-1e93b060077db01ceca0cdbad00ff358fee6f104.tar.gz
cpython-1e93b060077db01ceca0cdbad00ff358fee6f104.tar.bz2
complain about "global __class__" in a class body (closes #17983)
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 c45a87b..d6c151f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 3.3.3 release candidate 1?
Core and Builtins
-----------------
+- Issue #17983: Raise a SyntaxError for a ``global __class__`` statement in a
+ class body.
+
- Issue #17927: Frame objects kept arguments alive if they had been copied into
a cell, even if the cell was cleared.