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 <rep...@bugs.python.org>
<http://bugs.python.org/issue18212>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to