X7ROOT File Manager
Current Path:
/opt/alt/python310/lib64/python3.10/asyncio
opt
/
alt
/
python310
/
lib64
/
python3.10
/
asyncio
/
ðŸ“
..
📄
__init__.py
(1.08 KB)
📄
__main__.py
(3.3 KB)
ðŸ“
__pycache__
📄
base_events.py
(72.6 KB)
📄
base_futures.py
(2.51 KB)
📄
base_subprocess.py
(8.64 KB)
📄
base_tasks.py
(2.41 KB)
📄
constants.py
(888 B)
📄
coroutines.py
(8.59 KB)
📄
events.py
(26.71 KB)
📄
exceptions.py
(1.59 KB)
📄
format_helpers.py
(2.35 KB)
📄
futures.py
(13.85 KB)
📄
locks.py
(13.79 KB)
📄
log.py
(124 B)
📄
mixins.py
(803 B)
📄
proactor_events.py
(31.78 KB)
📄
protocols.py
(6.79 KB)
📄
queues.py
(7.85 KB)
📄
runners.py
(2.05 KB)
📄
selector_events.py
(38.77 KB)
📄
sslproto.py
(26.82 KB)
📄
staggered.py
(5.85 KB)
📄
streams.py
(25.15 KB)
📄
subprocess.py
(7.23 KB)
📄
tasks.py
(31.7 KB)
📄
threads.py
(790 B)
📄
transports.py
(10.47 KB)
📄
trsock.py
(5.74 KB)
📄
unix_events.py
(50.41 KB)
📄
windows_events.py
(32.66 KB)
📄
windows_utils.py
(4.94 KB)
Editing: exceptions.py
"""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)
Upload File
Create Folder