Patch #1346214: correctly optimize away "if 0"-style stmts

(thanks to Neal for review)
This commit is contained in:
Georg Brandl 2006-06-04 21:56:52 +00:00
parent 9f16760666
commit ddbaa660d3
5 changed files with 57 additions and 18 deletions

View file

@ -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.