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 majkrzak
Recipients majkrzak
Date 2015-01-21.12:42:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421844180.03.0.988670092885.issue23289@psf.upfronthosting.co.za>
In-reply-to
Content
In documentation https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.Executor.map is writen that this fucntion is equivalent to the builtin map. But it is not true due to the fact that it is not lazy evalueded. The reason is in https://hg.python.org/cpython/file/0893b9ee44ea/Lib/concurrent/futures/_base.py#l548 where the full list of features is created.

I don't find any reasonable solutions, but in my case following code was suitable.
https://gist.github.com/06bbd83eccd4083c68d0
History
Date User Action Args
2015-01-21 12:43:00majkrzaksetrecipients: + majkrzak
2015-01-21 12:43:00majkrzaksetmessageid: <1421844180.03.0.988670092885.issue23289@psf.upfronthosting.co.za>
2015-01-21 12:42:59majkrzaklinkissue23289 messages
2015-01-21 12:42:59majkrzakcreate