[Twisted-Python] Re: feedback requested -- flow.py goes beta

Clark C. Evans cce at clarkevans.com
Fri Apr 18 17:43:41 EDT 2003


Ok.  Thanks to extrepum's suggestions, flow can now use the
for loop.  Also, it handles exceptions in a cleaner way.  
For more details, see

   http://clarkevans.com/flow.html

flow.py, test_flow.py, and flow.html are currently 
checked into the Twisted CVS.

Best,

Clark

On Fri, Apr 18, 2003 at 04:55:47PM +0200, Philippe Lafoucrière wrote:
| >    producer = flow.wrap([1,2,3])
| >    yield producer
| >    for result in producer:
| >        // handle success
| >        yield producer
| 
| I prefer this version. Moreover, this is more clear, and easier to
| understand !




More information about the Twisted-Python mailing list