homepage

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 jjdominguezm
Recipients bquinlan, jjdominguezm, pitrou
Date 2012年02月29日.14:06:04
SpamBayes Score 0.0016188002
Marked as misclassified No
Message-id <1330524365.27.0.237816290971.issue13785@psf.upfronthosting.co.za>
In-reply-to
Content
The use case is to know the state of a future without having to do something like this
 @property
 def state(self):
 if self.future.running():
 return Process.States.Running
 elif self.future.cancelled():
 return Process.States.Cancelled
 elif self.future.done():
 return Process.States.Done
 return Process.States.Pending
History
Date User Action Args
2012年02月29日 14:06:05jjdominguezmsetrecipients: + jjdominguezm, bquinlan, pitrou
2012年02月29日 14:06:05jjdominguezmsetmessageid: <1330524365.27.0.237816290971.issue13785@psf.upfronthosting.co.za>
2012年02月29日 14:06:04jjdominguezmlinkissue13785 messages
2012年02月29日 14:06:04jjdominguezmcreate

AltStyle によって変換されたページ (->オリジナル) /