Re: Generator woes

2008-03-12 Thread Erich
On Mar 13, 12:33 am, Erich <[EMAIL PROTECTED]> wrote: > Hi all, > > I am trying to get the following generator to work to these goals: > > 1. When it recieves an exception (via a throw()) it yeilds the value > of handler.remaining. Otherwise it yeilds None. > 2. Send adds data to the generator. > >

Generator woes

2008-03-12 Thread Erich
Hi all, I am trying to get the following generator to work to these goals: 1. When it recieves an exception (via a throw()) it yeilds the value of handler.remaining. Otherwise it yeilds None. 2. Send adds data to the generator. Goal 2 is working great. Goal 1 on the other hand, is not working. T