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 bquinlan
Recipients bquinlan, jjdominguezm
Date 2012-01-14.21:00:15
SpamBayes Score 4.226795e-08
Marked as misclassified No
Message-id <1326574816.27.0.645210553898.issue13785@psf.upfronthosting.co.za>
In-reply-to
Content
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...
History
Date User Action Args
2012-01-14 21:00:16bquinlansetrecipients: + bquinlan, jjdominguezm
2012-01-14 21:00:16bquinlansetmessageid: <1326574816.27.0.645210553898.issue13785@psf.upfronthosting.co.za>
2012-01-14 21:00:15bquinlanlinkissue13785 messages
2012-01-14 21:00:15bquinlancreate