def value(self):
        '''The final value, if it has arrived

        :raises: AttributeError, if not yet complete
        :raises: an exception if the Future was :meth:`abort`\ed
        '''
        if not self._done.is_set():
            raise AttributeError("value")
        if self._failure:
            raise self._failure[0], self._failure[1], self._failure[2]
        return self._value
The final value, if it has arrived

        :raises: AttributeError, if not yet complete
        :raises: an exception if the Future was :meth:`abort`\ed