]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Document Tornado's incompatibility with asyncio.ProactorEventLoop.
authorBen Darnell <ben@bendarnell.com>
Sun, 21 Sep 2014 16:06:00 +0000 (12:06 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 21 Sep 2014 16:06:00 +0000 (12:06 -0400)
Closes #1201.

docs/asyncio.rst

index d096506614876c0f0c8bf9fcb16cb848c5cbef25..06dc44c32759ea904fe02d0005111ab49a256891 100644 (file)
@@ -15,6 +15,12 @@ default ``asyncio`` event loop.  Applications that need to run event
 loops on multiple threads may use `AsyncIOLoop` to create multiple
 loops.
 
+.. note::
+
+   Tornado requires the `~asyncio.BaseEventLoop.add_reader` family of methods,
+   so it is not compatible with the `~asyncio.ProactorEventLoop` on Windows.
+   Use the `~asyncio.SelectorEventLoop` instead.
+
 .. py:class:: AsyncIOMainLoop
 
     ``AsyncIOMainLoop`` creates an `.IOLoop` that corresponds to the