[Python-Dev] more pyref: continue in finally statements
"Martin v. Löwis"
martin at v.loewis.de
Mon May 1 21:01:32 CEST 2006
Guido van Rossum wrote:
> Strange. I thought this was supposed to be fixed? (But I can confirm
> that it isn't.)
Perhaps you were confusing it with this HISTORY entry?
- A 'continue' statement can now appear in a try block within the body
of a loop. It is still not possible to use continue in a finally
clause.
This was added as
------------------------------------------------------------------------
r19261 | jhylton | 2001-02-01 23:53:15 +0100 (Do, 01 Feb 2001) | 2 lines
Geänderte Pfade:
M /python/trunk/Misc/NEWS
continue now allowed in try block
------------------------------------------------------------------------
r19260 | jhylton | 2001-02-01 23:48:12 +0100 (Do, 01 Feb 2001) | 3 lines
Geänderte Pfade:
M /python/trunk/Doc/ref/ref7.tex
M /python/trunk/Include/opcode.h
M /python/trunk/Lib/dis.py
M /python/trunk/Lib/test/output/test_exceptions
M /python/trunk/Lib/test/output/test_grammar
M /python/trunk/Lib/test/test_exceptions.py
M /python/trunk/Lib/test/test_grammar.py
M /python/trunk/Python/ceval.c
M /python/trunk/Python/compile.c
Allow 'continue' inside 'try' clause
SF patch 102989 by Thomas Wouters
------------------------------------------------------------------------
Regards,
Martin
More information about the Python-Dev
mailing list