Changeset 5329:449daae0800e in livinglogic.python.xist

Show
Ignore:
Timestamp:
02/09/13 11:26:30 (6 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

handleeval() must pass through BreakException?, ContinueException? and ReturnException?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/ul4c.py

    r5327 r5329  
    246246        try: 
    247247            return (yield from f(self, keepws, vars)) 
     248        except (BreakException, ContinueException, ReturnException) as ex: 
     249            raise 
    248250        except Exception as ex: 
    249251            raise Error(self) from ex