Juan Javier <jjdomingu...@gmail.com> added the comment: 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 ---------- _______________________________________ 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