mirror of
https://github.com/python/cpython.git
synced 2025-12-09 02:35:14 +00:00
Patch #1346214: correctly optimize away "if 0"-style stmts
(thanks to Neal for review)
This commit is contained in:
parent
9f16760666
commit
ddbaa660d3
5 changed files with 57 additions and 18 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue