On Fri, Jul 15, 2011 at 10:52 PM, Billy Mays <no...@nohow.com> wrote:
> Really what would be useful is some sort of PauseIteration Exception which
> doesn't close the generator when raised, but indicates to the looping header
> that there is no more data for now.
>

All you need is a sentinel yielded value (eg None).

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to