Re: iterators instead of callbacks.

2005-02-08 Thread Michael Hoffman
Antoon Pardon wrote: I'm thinking about the FTP-lib now where iterator equivallents of > retrbinary and retrlines methods may be more easily usable then the > current versions with a callback. So I was wondering, are such transformations in the pipeline somewhere? Maybe that should be a Python 3.0

iterators instead of callbacks.

2005-02-08 Thread Antoon Pardon
My current understanding is that callbacks are used in a number of places because they predate iterator. But now that we have iterators these would be better suited. I'm thinking about the FTP-lib now where iterator equivallents of retrbinary and retrlines methods may be more easily usable then the