/usr/lib64/python3.12/asyncio
NameSizeModeActions
__pycache__/-0755rm
base_events.py785670644editdlrm
base_futures.py19740644editdlrm
base_subprocess.py88690644editdlrm
base_tasks.py26720644editdlrm
constants.py14130644editdlrm
coroutines.py33420644editdlrm
events.py293390644editdlrm
exceptions.py17520644editdlrm
format_helpers.py24040644editdlrm
futures.py143400644editdlrm
locks.py189950644editdlrm
log.py1240644editdlrm
mixins.py4810644editdlrm
proactor_events.py335000644editdlrm
protocols.py69570644editdlrm
queues.py79740644editdlrm
runners.py72300644editdlrm
selector_events.py483320644editdlrm
sslproto.py318990644editdlrm
staggered.py70770644editdlrm
streams.py276190644editdlrm
subprocess.py77370644editdlrm
taskgroups.py95590644editdlrm
tasks.py373620644editdlrm
threads.py7900644editdlrm
timeouts.py53210644editdlrm
transports.py107220644editdlrm
trsock.py24750644editdlrm
unix_events.py531240644editdlrm
windows_events.py325870644editdlrm
windows_utils.py50600644editdlrm
__init__.py12200644editdlrm
__main__.py34910644editdlrm
Edit: /usr/lib64/python3.12/asyncio/exceptions.py (1752B)
"""asyncio exceptions.""" __all__ = ('BrokenBarrierError', 'CancelledError', 'InvalidStateError', 'TimeoutError', 'IncompleteReadError', 'LimitOverrunError', 'SendfileNotAvailableError') class CancelledError(BaseException): """The Future or Task was cancelled.""" TimeoutError = TimeoutError # make local alias for the standard exception 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) class BrokenBarrierError(RuntimeError): """Barrier is broken by barrier.abort() call."""