Re: exception raised by nested iterator being ignored by for loop

2005-11-19 Thread Bengt Richter
On Sun, 20 Nov 2005 03:36:43 GMT, james t kirk <[EMAIL PROTECTED]> wrote: >I'm writing a wrapper class to handle the line merging and filtering >for a log file analysis app > >The problem I'm running into is that the StopIteration exception >raised when the wrapped file goes past EOF isn't causing

Re: exception raised by nested iterator being ignored by for loop

2005-11-19 Thread Raymond Hettinger
james t kirk wrote: > I'm writing a wrapper class to handle the line merging and filtering > for a log file analysis app > > The problem I'm running into is that the StopIteration exception > raised when the wrapped file goes past EOF isn't causing the second > for loop to stop. Admiral Kirk, The