Paul Rubin wrote: > James Stroud <[EMAIL PROTECTED]> writes: >> I can see I didn't explain so well. This one must be a bug if my code >> looks good to you. > > I didn't spot any obvious errors, but I didn't look closely enough > to say that the code looked good or bad. > >> Conclusion: something consumes my generator going from inside the loop >> to outside. > > I'm not so sure of this, the thing is you're building these internal > grouper objects that don't expect to be consumed in the wrong order, etc. > > Really, I'd try making a test iterator that prints something every > time you advance it, then step through your function with a debugger.
Thank you for your suggestion. I replied twice to your first post before you made your suggestion to step through with a debugger, so it looks like I ignored it. Thanks again. James -- James Stroud UCLA-DOE Institute for Genomics and Proteomics Box 951570 Los Angeles, CA 90095 http://www.jamesstroud.com -- http://mail.python.org/mailman/listinfo/python-list