]> git.ipfire.org Git - thirdparty/tornado.git/commit
all: Remove deprecated io_loop arguments
authorBen Darnell <ben@bendarnell.com>
Mon, 22 May 2017 03:57:46 +0000 (23:57 -0400)
committerBen Darnell <ben@bendarnell.com>
Mon, 22 May 2017 04:56:49 +0000 (00:56 -0400)
commit547e0f98d56bb8f22a89c009b6d2b3cf6b802284
treef39be0100a3baf0f70393ec58a47367fd1ea73e9
parent330729617e292ec68378ce7c3527704f1a6a0044
all: Remove deprecated io_loop arguments

IOLoop.current() is now used in all cases; it is no longer possible to
pass IOLoops around and use them directly. This occasionally requires
awkward workarounds with IOLoop.run_sync, but mainly in test code
(and the synchronous HTTPClient).
32 files changed:
docs/httpclient.rst
tornado/autoreload.py
tornado/curl_httpclient.py
tornado/gen.py
tornado/http1connection.py
tornado/httpclient.py
tornado/httpserver.py
tornado/ioloop.py
tornado/iostream.py
tornado/netutil.py
tornado/platform/caresresolver.py
tornado/platform/twisted.py
tornado/process.py
tornado/simple_httpclient.py
tornado/tcpclient.py
tornado/tcpserver.py
tornado/test/concurrent_test.py
tornado/test/curl_httpclient_test.py
tornado/test/gen_test.py
tornado/test/httpclient_test.py
tornado/test/httpserver_test.py
tornado/test/iostream_test.py
tornado/test/netutil_test.py
tornado/test/process_test.py
tornado/test/simple_httpclient_test.py
tornado/test/stack_context_test.py
tornado/test/tcpclient_test.py
tornado/test/twisted_test.py
tornado/test/web_test.py
tornado/test/websocket_test.py
tornado/testing.py
tornado/websocket.py