X7ROOT File Manager
Current Path:
/opt/alt/python313/lib64/python3.13/asyncio
opt
/
alt
/
python313
/
lib64
/
python3.13
/
asyncio
/
ðŸ“
..
📄
__init__.py
(1.19 KB)
📄
__main__.py
(5.98 KB)
ðŸ“
__pycache__
📄
base_events.py
(78.04 KB)
📄
base_futures.py
(1.93 KB)
📄
base_subprocess.py
(9.2 KB)
📄
base_tasks.py
(2.61 KB)
📄
constants.py
(1.38 KB)
📄
coroutines.py
(3.26 KB)
📄
events.py
(29.09 KB)
📄
exceptions.py
(1.71 KB)
📄
format_helpers.py
(2.66 KB)
📄
futures.py
(13.83 KB)
📄
locks.py
(20.1 KB)
📄
log.py
(124 B)
📄
mixins.py
(481 B)
📄
proactor_events.py
(32.71 KB)
📄
protocols.py
(6.79 KB)
📄
queues.py
(9.94 KB)
📄
runners.py
(7.06 KB)
📄
selector_events.py
(47.04 KB)
📄
sslproto.py
(31.12 KB)
📄
staggered.py
(6.91 KB)
📄
streams.py
(27.81 KB)
📄
subprocess.py
(7.56 KB)
📄
taskgroups.py
(9.81 KB)
📄
tasks.py
(38.83 KB)
📄
threads.py
(790 B)
📄
timeouts.py
(5.92 KB)
📄
transports.py
(10.55 KB)
📄
trsock.py
(2.42 KB)
📄
unix_events.py
(53.14 KB)
📄
windows_events.py
(31.87 KB)
📄
windows_utils.py
(4.94 KB)
Editing: exceptions.py
"""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."""
Upload File
Create Folder