This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sbt
Recipients acooke, pitrou, sbt
Date 2012-06-08.11:59:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339156751.22.0.761549883855.issue12897@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
Date User Action Args
2012-06-08 11:59:11sbtsetrecipients: + sbt, pitrou, acooke
2012-06-08 11:59:11sbtsetmessageid: <1339156751.22.0.761549883855.issue12897@psf.upfronthosting.co.za>
2012-06-08 11:59:10sbtlinkissue12897 messages
2012-06-08 11:59:10sbtcreate