"""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 | 50.46 KB | 0644 |
|
base_subprocess.py | File | 8.5 KB | 0644 |
|
compat.py | File | 505 B | 0644 |
|
constants.py | File | 195 B | 0644 |
|
coroutines.py | File | 9.32 KB | 0644 |
|
events.py | File | 20.87 KB | 0644 |
|
futures.py | File | 15.96 KB | 0644 |
|
locks.py | File | 14.26 KB | 0644 |
|
log.py | File | 124 B | 0644 |
|
proactor_events.py | File | 19.71 KB | 0644 |
|
protocols.py | File | 4.41 KB | 0644 |
|
queues.py | File | 7.67 KB | 0644 |
|
selector_events.py | File | 38.49 KB | 0644 |
|
sslproto.py | File | 24.85 KB | 0644 |
|
streams.py | File | 23.27 KB | 0644 |
|
subprocess.py | File | 7.01 KB | 0644 |
|
tasks.py | File | 26.33 KB | 0644 |
|
test_utils.py | File | 12.72 KB | 0644 |
|
transports.py | File | 9.62 KB | 0644 |
|
unix_events.py | File | 33.71 KB | 0644 |
|
windows_events.py | File | 27.06 KB | 0644 |
|
windows_utils.py | File | 6.68 KB | 0644 |
|