◐ Shell
clean mode source ↗

Message 330158 - Python tracker

In module "threading", class "Thread" defines "is_alive" and defines "isAlive = is_alive". The derived class "_DummyThread" redefines "is_alive" but forgets to update the "isAlive" alias. As a consequence, calling "_DummyThread.isAlive" leads to an "AssertionErrror".

The "isAlive" method is mentioned in the docstring of "Thread.join".