On 2014-02-27, 1:02 PM, Victor Stinner wrote:
The activate() method of the _TracebackLogger is never executed, the _TracebackLogger is part of a reference cycle and cannot be collected by the garbage collector, and the unhandled exception is not logged.
Why is it never executed? There's this line in Future.set_exception:
self._loop.call_soon(self._tb_logger.activate)
And in _TracebackLocgger.activate -- self.exc sets to None
Yury
