iterators instead of callbacks.

Antoon Pardon apardon at forel.vub.ac.be
Tue Feb 8 08:28:05 EST 2005


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 current versions with a
callback.

So I was wondering, are such transformations in the pipeline
somewhere?

-- 
Antoon Pardon



More information about the Python-list mailing list