Brian Quinlan <br...@sweetapp.com> added the comment:

Thanks for the patch!

1. The fetching the state feature seems reasonable but I think that explaining 
the difference between CANCELLED and CANCELLED_AND_NOTIFIED is going to be 
hard. Maybe you could look at how Doc/library/concurrent.futures.rst would need 
to be updated to see if we can provide a reasonable description of the 
different states?

2. Having the future record the history of its state transitions seems 
potentially useful but there is no precedent for this in other Python objects 
where it would also be useful. Maybe you could make the executors take a 
Futures factory and then provide a subclass that does that? Not sure that I 
like that either but...

----------

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

Reply via email to