"""The asyncio package, tracking PEP 3156.""" import sys # The selectors module is in the stdlib in Python 3.4 but not in 3.3. # Do this first, so the other submodules can use "from . import selectors". # Prefer asyncio/selectors.py over the stdlib one, as ours may be newer. try: from . import selectors except ImportError: import selectors # Will also be exported. if sys.platform == 'win32': # Similar thing for _overlapped. try: from . import _overlapped except ImportError: import _overlapped # Will also be exported. # This relies on each of the submodules having an __all__ variable. from .base_events import * from .coroutines import * from .events import * from .futures import * from .locks import * from .protocols import * from .queues import * from .streams import * from .subprocess import * from .tasks import * from .transports import * __all__ = (base_events.__all__ + coroutines.__all__ + events.__all__ + futures.__all__ + locks.__all__ + protocols.__all__ + queues.__all__ + streams.__all__ + subprocess.__all__ + tasks.__all__ + transports.__all__) if sys.platform == 'win32': # pragma: no cover from .windows_events import * __all__ += windows_events.__all__ else: from .unix_events import * # pragma: no cover __all__ += unix_events.__all__
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 1.4 KB | 0644 |
|
base_events.py | File | 56 KB | 0644 |
|
base_futures.py | File | 2.03 KB | 0644 |
|
base_subprocess.py | File | 8.88 KB | 0644 |
|
base_tasks.py | File | 2.13 KB | 0644 |
|
compat.py | File | 543 B | 0644 |
|
constants.py | File | 371 B | 0644 |
|
coroutines.py | File | 10.87 KB | 0644 |
|
events.py | File | 22.96 KB | 0644 |
|
futures.py | File | 15.53 KB | 0644 |
|
locks.py | File | 15.22 KB | 0644 |
|
log.py | File | 124 B | 0644 |
|
proactor_events.py | File | 19.92 KB | 0644 |
|
protocols.py | File | 4.41 KB | 0644 |
|
queues.py | File | 7.77 KB | 0644 |
|
selector_events.py | File | 40.66 KB | 0644 |
|
sslproto.py | File | 25.4 KB | 0644 |
|
streams.py | File | 23.9 KB | 0644 |
|
subprocess.py | File | 7.45 KB | 0644 |
|
tasks.py | File | 24.47 KB | 0644 |
|
test_utils.py | File | 14.74 KB | 0644 |
|
transports.py | File | 9.83 KB | 0644 |
|
unix_events.py | File | 36.39 KB | 0644 |
|
windows_events.py | File | 27.18 KB | 0644 |
|
windows_utils.py | File | 6.72 KB | 0644 |
|