[3.7] bpo-35283: Add deprecation warning for Thread.isAlive (GH-11454) by corona10 · Pull Request #11604 · python/cpython
When the timeout argument is not present or None, the operation will
isAlive = is_alive def isAlive(self): """Return whether the thread is alive.
This method is deprecated, use is_alive() instead. """ import warnings warnings.warn('isAlive() is deprecated, use is_alive() instead', PendingDeprecationWarning, stacklevel=2) return self.is_alive()
@property def daemon(self):