[ python-Bugs-1569998 ] 2.5 incorrectly permits break inside try statement

SourceForge.net noreply at sourceforge.net
Tue Oct 3 16:04:52 CEST 2006


Bugs item #1569998, was opened at 2006-10-04 00:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1569998&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Parser/Compiler
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Nick Coghlan (ncoghlan)
Assigned to: Nobody/Anonymous (nobody)
Summary: 2.5 incorrectly permits break inside try statement

Initial Comment:
The new AST compiler permits the break statement inside
*any* frame block, rather than requiring that there be
a loop somewhere on the block stack.

Will add examples in a comment where SF shouldn't
destroy the formatting.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1569998&group_id=5470


More information about the Python-bugs-list mailing list