Issue #28428: Rename _futures module to _asyncio.

It will have more speedup functions or classes other than asyncio.Future.
This commit is contained in:
INADA Naoki 2016-10-15 15:39:19 +09:00
parent 479eb760f4
commit 9f2ce25481
6 changed files with 29 additions and 29 deletions

View file

@ -432,18 +432,18 @@ def _copy_future_state(source, dest):
try:
import _futures
import _asyncio
except ImportError:
pass
else:
_futures._init_module(
_asyncio._init_module(
traceback.extract_stack,
events.get_event_loop,
_future_repr_info,
InvalidStateError,
CancelledError)
Future = _futures.Future
Future = _asyncio.Future
def _chain_future(source, destination):