⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.45
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
lib
/
python3.8
/
dist-packages
/
trio
/
View File Name :
lowlevel.py
""" This namespace represents low-level functionality not intended for daily use, but useful for extending Trio's functionality. """ import select as _select import sys import typing as _t # This is the union of a subset of trio/_core/ and some things from trio/*.py. # See comments in trio/__init__.py for details. To make static analysis easier, # this lists all possible symbols from trio._core, and then we prune those that # aren't available on this system. After that we add some symbols from trio/*.py. # Generally available symbols from ._core import ( cancel_shielded_checkpoint, Abort, wait_task_rescheduled, enable_ki_protection, disable_ki_protection, currently_ki_protected, Task, checkpoint, current_task, ParkingLot, UnboundedQueue, RunVar, TrioToken, current_trio_token, temporarily_detach_coroutine_object, permanently_detach_coroutine_object, reattach_detached_coroutine_object, current_statistics, reschedule, remove_instrument, add_instrument, current_clock, current_root_task, checkpoint_if_cancelled, spawn_system_task, wait_readable, wait_writable, notify_closing, start_thread_soon, start_guest_run, ) from ._subprocess import open_process if sys.platform == "win32": # Windows symbols from ._core import ( current_iocp, register_with_iocp, wait_overlapped, monitor_completion_key, readinto_overlapped, write_overlapped, ) from ._wait_for_object import WaitForSingleObject else: # Unix symbols from ._unix_pipes import FdStream # Kqueue-specific symbols if sys.platform != "linux" and (_t.TYPE_CHECKING or not hasattr(_select, "epoll")): from ._core import ( current_kqueue, monitor_kevent, wait_kevent, ) del sys