ACIL FM
Dark
Refresh
Current DIR:
/opt/alt/python-internal/lib64/python3.11/asyncio
/
opt
alt
python-internal
lib64
python3.11
asyncio
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
__pycache__
-
chmod
Open
Rename
Delete
base_events.py
73.62 MB
chmod
View
DL
Edit
Rename
Delete
base_futures.py
1.96 MB
chmod
View
DL
Edit
Rename
Delete
base_subprocess.py
8.66 MB
chmod
View
DL
Edit
Rename
Delete
base_tasks.py
2.58 MB
chmod
View
DL
Edit
Rename
Delete
constants.py
1.29 MB
chmod
View
DL
Edit
Rename
Delete
coroutines.py
3.32 MB
chmod
View
DL
Edit
Rename
Delete
events.py
27.97 MB
chmod
View
DL
Edit
Rename
Delete
exceptions.py
1.71 MB
chmod
View
DL
Edit
Rename
Delete
format_helpers.py
2.35 MB
chmod
View
DL
Edit
Rename
Delete
futures.py
13.88 MB
chmod
View
DL
Edit
Rename
Delete
locks.py
18.57 MB
chmod
View
DL
Edit
Rename
Delete
log.py
124 B
chmod
View
DL
Edit
Rename
Delete
mixins.py
481 B
chmod
View
DL
Edit
Rename
Delete
proactor_events.py
32.48 MB
chmod
View
DL
Edit
Rename
Delete
protocols.py
6.79 MB
chmod
View
DL
Edit
Rename
Delete
queues.py
7.79 MB
chmod
View
DL
Edit
Rename
Delete
runners.py
6.68 MB
chmod
View
DL
Edit
Rename
Delete
selector_events.py
44.34 MB
chmod
View
DL
Edit
Rename
Delete
sslproto.py
31 MB
chmod
View
DL
Edit
Rename
Delete
staggered.py
5.85 MB
chmod
View
DL
Edit
Rename
Delete
streams.py
26.86 MB
chmod
View
DL
Edit
Rename
Delete
subprocess.py
7.5 MB
chmod
View
DL
Edit
Rename
Delete
taskgroups.py
8.27 MB
chmod
View
DL
Edit
Rename
Delete
tasks.py
33.63 MB
chmod
View
DL
Edit
Rename
Delete
threads.py
790 B
chmod
View
DL
Edit
Rename
Delete
timeouts.py
5.2 MB
chmod
View
DL
Edit
Rename
Delete
transports.py
10.47 MB
chmod
View
DL
Edit
Rename
Delete
trsock.py
2.42 MB
chmod
View
DL
Edit
Rename
Delete
unix_events.py
50.7 MB
chmod
View
DL
Edit
Rename
Delete
windows_events.py
33.88 MB
chmod
View
DL
Edit
Rename
Delete
windows_utils.py
4.94 MB
chmod
View
DL
Edit
Rename
Delete
__init__.py
1.16 MB
chmod
View
DL
Edit
Rename
Delete
__main__.py
3.3 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /opt/alt/python-internal/lib64/python3.11/asyncio/base_futures.py
__all__ = () import reprlib from _thread import get_ident from . import format_helpers # States for Future. _PENDING = 'PENDING' _CANCELLED = 'CANCELLED' _FINISHED = 'FINISHED' def isfuture(obj): """Check for a Future. This returns True when obj is a Future instance or is advertising itself as duck-type compatible by setting _asyncio_future_blocking. See comment in Future for more details. """ return (hasattr(obj.__class__, '_asyncio_future_blocking') and obj._asyncio_future_blocking is not None) def _format_callbacks(cb): """helper function for Future.__repr__""" size = len(cb) if not size: cb = '' def format_cb(callback): return format_helpers._format_callback_source(callback, ()) if size == 1: cb = format_cb(cb[0][0]) elif size == 2: cb = '{}, {}'.format(format_cb(cb[0][0]), format_cb(cb[1][0])) elif size > 2: cb = '{}, <{} more>, {}'.format(format_cb(cb[0][0]), size - 2, format_cb(cb[-1][0])) return f'cb=[{cb}]' def _future_repr_info(future): # (Future) -> str """helper function for Future.__repr__""" info = [future._state.lower()] if future._state == _FINISHED: if future._exception is not None: info.append(f'exception={future._exception!r}') else: # use reprlib to limit the length of the output, especially # for very long strings result = reprlib.repr(future._result) info.append(f'result={result}') if future._callbacks: info.append(_format_callbacks(future._callbacks)) if future._source_traceback: frame = future._source_traceback[-1] info.append(f'created at {frame[0]}:{frame[1]}') return info @reprlib.recursive_repr() def _future_repr(future): info = ' '.join(_future_repr_info(future)) return f'<{future.__class__.__name__} {info}>'
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply