[New-bugs-announce] [issue18212] No way to check whether Future is finished?

Ram Rachum report at bugs.python.org
Fri Jun 14 15:25:45 CEST 2013


New submission from Ram Rachum:

I have a `Future` and I want to check whether it's in finished state. It seems like I don't have a method to do that, right? (I could emulate the existing methods for checking Future state, but that would mean fiddling with private variables.)

Why not just expose the Future state in a property that automatically acquires `self._condition`? (Instead of a horde of methods.)

----------
components: Library (Lib)
messages: 191126
nosy: cool-RR
priority: normal
severity: normal
status: open
title: No way to check whether Future is finished?
type: behavior
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18212>
_______________________________________


More information about the New-bugs-announce mailing list