summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-06-04 21:56:52 (GMT)
committerGeorg Brandl <georg@python.org>2006-06-04 21:56:52 (GMT)
commitddbaa660d3b64a71b4ac9eab64b1bb944ca1276b (patch)
treeff4255db178f608511fbc29f1410241bef74a109 /Misc
parent9f167606665c186179bf362d4227e722731cd1b9 (diff)
downloadcpython-ddbaa660d3b64a71b4ac9eab64b1bb944ca1276b.zip
cpython-ddbaa660d3b64a71b4ac9eab64b1bb944ca1276b.tar.gz
cpython-ddbaa660d3b64a71b4ac9eab64b1bb944ca1276b.tar.bz2
Patch #1346214: correctly optimize away "if 0"-style stmts
(thanks to Neal for review)
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 50e7907..f887503 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.5 beta 1?
Core and builtins
-----------------
+- Patch #1346214: Statements like "if 0: suite" are now again optimized
+ away like they were in Python 2.4.
+
- Builtin exceptions are now full-blown new-style classes instead of
instances pretending to be classes, which speeds up exception handling
by about 80% in comparison to 2.5a2.