File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2041,7 +2041,7 @@ def init_shutdown_no_activity(self):
20412041 def _init_asyncio_patch (self ):
20422042 """set default asyncio policy to be compatible with tornado
20432043
2044- Tornado 6 (at least) is not compatible with the default
2044+ Tornado <6.1 is not compatible with the default
20452045 asyncio implementation on Windows
20462046
20472047 Pick the older SelectorEventLoopPolicy on Windows
@@ -2054,7 +2054,7 @@ def _init_asyncio_patch(self):
20542054 FIXME: if/when tornado supports the defaults in asyncio,
20552055 remove and bump tornado requirement for py38
20562056 """
2057- if sys .platform .startswith ("win" ) and sys .version_info >= (3 , 8 ):
2057+ if sys .platform .startswith ("win" ) and sys .version_info >= (3 , 8 ) and tornado . version_info < ( 6 , 1 ) :
20582058 import asyncio
20592059 try :
20602060 from asyncio import (
You can’t perform that action at this time.
0 commit comments