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 pitrou
Recipients bquinlan, jjdominguezm, pitrou
Date 2012-01-15.23:04:49
SpamBayes Score 2.8603736e-07
Marked as misclassified No
Message-id <1326668690.72.0.343029110531.issue13785@psf.upfronthosting.co.za>
In-reply-to
Content
> The idea is to have access to the current state of the Future using a property instead of calling several methods (done, cancelled, etc.).

I think one point of having methods is that querying is decoupled from implementation. The internal states could for example be finer-grained than what is exposed by the API.

> Also, a history property that returns a list of Event(state, timestamp) objects is written, the list stores the timestamp every time the state of a future changes.

Uh, what is the use case exactly?
History
Date User Action Args
2012-01-15 23:04:50pitrousetrecipients: + pitrou, bquinlan, jjdominguezm
2012-01-15 23:04:50pitrousetmessageid: <1326668690.72.0.343029110531.issue13785@psf.upfronthosting.co.za>
2012-01-15 23:04:50pitroulinkissue13785 messages
2012-01-15 23:04:49pitroucreate