Richard Oudkerk <shibt...@gmail.com> added the comment:

If you want lazy operation then you should use imap(f, it[, chunksize]) rather 
than using map_async(f, it).

This will return an iterator rather than a list.  Also, the iterator's next() 
method has a timeout argument.  (chunksize is the number of items which get 
sent to a worker in each batch, with 1 being the default.)

----------
nosy: +sbt

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12897>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to