<div dir="ltr">Maybe I'm missing something, but I don't think that's something that should block implementation.<div><br></div><div>Information not available? Change the executor code to make that information available. Information could have been changed? So what? That is to be expected. When I read a file in Python, by the time the line finished someone could have written something to that file so the result of the read may not be current. Even if I read just a simple variable, by the next line it might have been changed by another thread. I really don't see why any of that deserves special consideration. <br>

<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 25, 2014 at 8:57 PM, Antoine Pitrou <span dir="ltr"><<a href="mailto:antoine@python.org" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=antoine@python.org&cc=&bcc=&su=&body=','_blank');return false;">antoine@python.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 25/08/2014 13:37, Ram Rachum a écrit :<div class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
"some other pieces of runtime state cannot be reliably computed"<br>
<br>
Can you please specify which ones you mean, and why not reliable?<br>
</blockquote>
<br></div>
I cannot say for sure without taking a more detailed look at concurrent.futures :-) However, any runtime information such as "the tasks current being processes" (as opposed to, say, waiting) may not be available to the calling thread or process, or may be unreliable once it returns to the function's caller (since the actual state may have changed in-between).<br>


<br>
In the former case (information not available to the main process), we can't expose the information at all; in the latter case, we may still choose to expose it with the usual caveats in the documentation (exactly like Queue.qsize()).<div class="HOEnZb">

<div class="h5"><br>
<br>
Regards<br>
<br>
Antoine.<br>
<br>
<br>
______________________________<u></u>_________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=Python-ideas@python.org&cc=&bcc=&su=&body=','_blank');return false;">Python-ideas@python.org</a><br>


<a href="https://mail.python.org/mailman/listinfo/python-ideas" target="_blank">https://mail.python.org/<u></u>mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" target="_blank">http://python.org/psf/<u></u>codeofconduct/</a><br>
<br>
-- <br>
<br>
--- You received this message because you are subscribed to a topic in the Google Groups "python-ideas" group.<br>
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/python-ideas/pl3r5SsbLLU/unsubscribe" target="_blank">https://groups.google.com/d/<u></u>topic/python-ideas/<u></u>pl3r5SsbLLU/unsubscribe</a>.<br>


To unsubscribe from this group and all its topics, send an email to <a href="mailto:python-ideas%2Bunsubscribe@googlegroups.com" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=python-ideas%2Bunsubscribe@googlegroups.com&cc=&bcc=&su=&body=','_blank');return false;">python-ideas+unsubscribe@<u></u>googlegroups.com</a>.<br>


For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/<u></u>optout</a>.<br>
</div></div></blockquote></div><br></div></div></div>