From: Ben Darnell Date: Sun, 7 Oct 2012 23:02:50 +0000 (-0700) Subject: Remove the method IOLoop.running. X-Git-Tag: v3.0.0~238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4afeef8e3a598e52cab5baf3da3ce8489db1cd9a;p=thirdparty%2Ftornado.git Remove the method IOLoop.running. --- diff --git a/tornado/ioloop.py b/tornado/ioloop.py index f3f8a1bf7..02046d3d1 100644 --- a/tornado/ioloop.py +++ b/tornado/ioloop.py @@ -283,10 +283,6 @@ class IOLoop(Configurable): """ raise NotImplementedError() - def running(self): - """Returns true if this IOLoop is currently running.""" - raise NotImplementedError() - def time(self): """Returns the current time according to the IOLoop's clock. @@ -594,9 +590,6 @@ class PollIOLoop(IOLoop): self._stopped = True self._waker.wake() - def running(self): - return self._running - def time(self): return self.time_func() diff --git a/website/sphinx/ioloop.rst b/website/sphinx/ioloop.rst index a6f4819ca..ce7fdd8f4 100644 --- a/website/sphinx/ioloop.rst +++ b/website/sphinx/ioloop.rst @@ -15,7 +15,6 @@ .. automethod:: IOLoop.initialized .. automethod:: IOLoop.install .. automethod:: IOLoop.start - .. automethod:: IOLoop.running .. automethod:: IOLoop.stop .. automethod:: IOLoop.close diff --git a/website/sphinx/releases/next.rst b/website/sphinx/releases/next.rst index 3669a535d..7edd47171 100644 --- a/website/sphinx/releases/next.rst +++ b/website/sphinx/releases/next.rst @@ -145,3 +145,4 @@ In progress ``debug=True``) twice on the same `IOLoop` now does nothing (instead of creating multiple periodic callbacks). Starting autoreload on more than one `IOLoop` in the same process now logs a warning. +* Method `IOLoop.running()` has been removed.