Enhanced Generators - two-way generators

Paul Rubin phr-n2002a at nightsong.com
Sat Feb 2 06:02:36 EST 2002


Oren Tirosh <oren-py-l at hishome.net> writes:
> This year is the 30th anniversary of Unix pipes, invented by Doug McIlroy.  
> I think this is enough experience to build on.  In practice, pipe 
> programming is used for pipelines of processing stages, not for dialogue. 
> Dialogues are used for terminals with human operators, but are very rare as
> a building block inside a program.  They are mostly used when a tool 
> designed for human interaction is used in an automated manner, not as a
> first choice.

Two-way pipes in Unix are called sockets, and they are very important.



More information about the Python-list mailing list