<div dir="ltr">If there's a working patch and you can get a core developer as a reviewer I'm fine with that. No PEP needed.)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 14, 2015 at 1:17 PM, Ram Rachum <span dir="ltr"><<a href="mailto:ram@rachum.com" target="_blank">ram@rachum.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I'd like to move `Executor.filter` forward, if that's possible. Can we get more people on the list to express their opinion about whether `Executor.filter` should be added to the stdlib? (See my implementation in a previous message on this thread.)<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 7, 2015 at 6:56 AM, Nick Coghlan <span dir="ltr"><<a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 2 May 2015 at 19:25, Ram Rachum <<a href="mailto:ram@rachum.com" target="_blank">ram@rachum.com</a>> wrote:<br>
> Okay, I implemented it. Might be getting something wrong because I've never<br>
> worked with the internals of this module before.<br>
<br>
</span>I think this is sufficiently tricky to get right that it's worth<br>
adding filter() as a parallel to the existing map() API.<br>
<br>
However, it did raise a separate question for me: is it currently<br>
possible to use Executor.map() and the as_completed() module level<br>
function together? Unless I'm missing something, it doesn't look like<br>
it, as map() hides the futures from the caller, so you only have<br>
something to pass to as_completed() if you invoke submit() directly.<br>
<br>
Cheers,<br>
Nick.<br>
<span><font color="#888888"><br>
--<br>
Nick Coghlan | <a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a> | Brisbane, Australia<br>
</font></span></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" target="_blank">http://python.org/psf/codeofconduct/</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div>