1"""The asyncio package, tracking PEP 3156.""" 2 3# flake8: noqa 4 5import sys 6 7# This relies on each of the submodules having an __all__ variable. 8from .base_events import * 9from .coroutines import * 10from .events import * 11from .exceptions import * 12from .futures import * 13from .locks import * 14from .protocols import * 15from .runners import * 16from .queues import * 17from .streams import * 18from .subprocess import * 19from .tasks import * 20from .transports import * 21 22# Exposed for _asynciomodule.c to implement now deprecated 23# Task.all_tasks() method. This function will be removed in 3.9. 24from .tasks import _all_tasks_compat # NoQA 25 26__all__ = (base_events.__all__ + 27 coroutines.__all__ + 28 events.__all__ + 29 exceptions.__all__ + 30 futures.__all__ + 31 locks.__all__ + 32 protocols.__all__ + 33 runners.__all__ + 34 queues.__all__ + 35 streams.__all__ + 36 subprocess.__all__ + 37 tasks.__all__ + 38 transports.__all__) 39 40if sys.platform == 'win32': # pragma: no cover 41 from .windows_events import * 42 __all__ += windows_events.__all__ 43else: 44 from .unix_events import * # pragma: no cover 45 __all__ += unix_events.__all__ 46