/snap/core20/2866/usr/lib/python3.8/asyncio
NameSizeModeActions
__pycache__/-0755rm
base_events.py726210644editdlrm
base_futures.py25740644editdlrm
base_subprocess.py88430644editdlrm
base_tasks.py24670644editdlrm
constants.py8880644editdlrm
coroutines.py87970644editdlrm
events.py261640644editdlrm
exceptions.py16330644editdlrm
format_helpers.py24040644editdlrm
futures.py131540644editdlrm
locks.py172760644editdlrm
log.py1240644editdlrm
proactor_events.py320600644editdlrm
protocols.py71360644editdlrm
queues.py82230644editdlrm
runners.py20540644editdlrm
selector_events.py389960644editdlrm
sslproto.py272100644editdlrm
staggered.py59920644editdlrm
streams.py266560644editdlrm
subprocess.py80680644editdlrm
tasks.py339230644editdlrm
transports.py104860644editdlrm
trsock.py58760644editdlrm
unix_events.py491150644editdlrm
windows_events.py328730644editdlrm
windows_utils.py50600644editdlrm
__init__.py12270644editdlrm
__main__.py33430644editdlrm
Edit: /snap/core20/2866/usr/lib/python3.8/asyncio/exceptions.py (1633B)
"""asyncio exceptions.""" __all__ = ('CancelledError', 'InvalidStateError', 'TimeoutError', 'IncompleteReadError', 'LimitOverrunError', 'SendfileNotAvailableError') class CancelledError(BaseException): """The Future or Task was cancelled.""" class TimeoutError(Exception): """The operation exceeded the given deadline.""" class InvalidStateError(Exception): """The operation is not allowed in this state.""" class SendfileNotAvailableError(RuntimeError): """Sendfile syscall is not available. Raised if OS does not support sendfile syscall for given socket or file type. """ class IncompleteReadError(EOFError): """ Incomplete read error. Attributes: - partial: read bytes string before the end of stream was reached - expected: total number of expected bytes (or None if unknown) """ def __init__(self, partial, expected): r_expected = 'undefined' if expected is None else repr(expected) super().__init__(f'{len(partial)} bytes read on a total of ' f'{r_expected} expected bytes') self.partial = partial self.expected = expected def __reduce__(self): return type(self), (self.partial, self.expected) class LimitOverrunError(Exception): """Reached the buffer limit while looking for a separator. Attributes: - consumed: total number of to be consumed bytes. """ def __init__(self, message, consumed): super().__init__(message) self.consumed = consumed def __reduce__(self): return type(self), (self.args[0], self.consumed)