Opposite of yield?

achrist at easystreet.com achrist at easystreet.com
Wed Sep 10 17:39:14 EDT 2003


Erik Max Francis wrote:
> 
> 
> Yep:
> 
>         generator.next()
> 

This style supports only output-driven processes.  The generator,
being on the input side, is always the server, and the output
side is always the client.  It doesn't fit the situation where the
input is heterogeneous and input has to get spewed in several
directions, depending on its content.


Al




More information about the Python-list mailing list