]> git.ipfire.org Git - thirdparty/tornado.git/commit
A new IOLoop is automatically "current" if there isn't already one.
authorBen Darnell <ben@bendarnell.com>
Sun, 18 Jan 2015 18:13:41 +0000 (13:13 -0500)
committerBen Darnell <ben@bendarnell.com>
Sun, 18 Jan 2015 18:13:41 +0000 (13:13 -0500)
commitab6b980c42dbaff73ed63deb200f1a23467f3529
tree67792d111cb6954119308cd607f17b90709aa5f8
parent98119734c86effbb6abd23154097797bbc606b94
A new IOLoop is automatically "current" if there isn't already one.

IOLoop keyword arguments throughout the library are now deprecated
in favor of IOLoop.current(). This is because the gen module
uses IOLoop.current() with no opportunity to pass in a different
instance, making it impossible in some cases to use a non-current
IOLoop with AsyncHTTPClient.

Closes #1252.
tornado/autoreload.py
tornado/gen.py
tornado/httpclient.py
tornado/ioloop.py
tornado/iostream.py
tornado/netutil.py
tornado/platform/caresresolver.py
tornado/platform/twisted.py
tornado/process.py
tornado/tcpclient.py
tornado/websocket.py