]> git.ipfire.org Git - thirdparty/tornado.git/commit
ioloop: current() and friends delegate to asyncio
authorBen Darnell <ben@bendarnell.com>
Sun, 21 Jan 2018 18:51:59 +0000 (13:51 -0500)
committerBen Darnell <ben@bendarnell.com>
Sat, 27 Jan 2018 01:34:29 +0000 (20:34 -0500)
commitdf541dccb69d8196d2871ba2addf85f1515f84c1
tree59cd7565b37de792ff97134f6e418ba8c479114d
parent3d6804412f15f026851581bbf587ac4653ee350d
ioloop: current() and friends delegate to asyncio

Instead of a redundant IOLoop._current thread-local, pass through
directly to asyncio and maintain a one-to-one mapping of asyncio loops
to IOLoops. This brings us a bit closer to the asyncio-only future.
tornado/ioloop.py
tornado/platform/asyncio.py
tornado/test/ioloop_test.py