Guido van Rossum wrote: > Please file this in the bug tracker. > > Thanks for finding this -- I kew there was a problem with the debugger > losing control but I never traced it down to the with statement! Already done! http://bugs.python.org/issue1265 Christian