]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Remove the method IOLoop.running.
authorBen Darnell <ben@bendarnell.com>
Sun, 7 Oct 2012 23:02:50 +0000 (16:02 -0700)
committerBen Darnell <ben@bendarnell.com>
Sun, 7 Oct 2012 23:11:18 +0000 (16:11 -0700)
tornado/ioloop.py
website/sphinx/ioloop.rst
website/sphinx/releases/next.rst

index f3f8a1bf76367ff4e141697144b924afb75b419a..02046d3d164435def76281391a9322943fb572cf 100644 (file)
@@ -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()
 
index a6f4819cada3f24e3ff4245424aca81a46387baf..ce7fdd8f43768c1a0bd8c05b97fe2c20a1956dc5 100644 (file)
@@ -15,7 +15,6 @@
    .. automethod:: IOLoop.initialized
    .. automethod:: IOLoop.install
    .. automethod:: IOLoop.start
-   .. automethod:: IOLoop.running
    .. automethod:: IOLoop.stop
    .. automethod:: IOLoop.close
 
index 3669a535d5dad2b09085fd4b61be4631fa2266f5..7edd47171e14bbd36dbc887f9938ccaa14881227 100644 (file)
@@ -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.