HEX
Server: nginx/1.24.0
System: Linux localhost 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64
User: www (1000)
PHP: 8.3.27
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: //snap/core20/current/lib/python3.8/__pycache__/signal.cpython-38.pyc
U

yi��@s&ddlZddlTddlmZddlmZe�Ze�	de
dd��e�	de
d	d��d
ekrle�	de
dd��d
d�Zdd�Zeej
�dd��Z
eej�dd��Zd
ekr�eej�dd
��Zejje_dekr�eej�dd��Zdek�reej�dd��Zeje_dek�reej�dd��Z[[dS)�N)�*)�wraps)�IntEnum�SignalscCs(|��r|�d�r|�d�p&|�d�S)NZSIGZSIG_ZCTRL_)�isupper�
startswith��name�r
�/usr/lib/python3.8/signal.py�<lambda>
s�r�HandlerscCs|dkS)N)�SIG_DFL�SIG_IGNr
rr
r
rr��pthread_sigmaskZSigmaskscCs|dkS)N)�	SIG_BLOCK�SIG_UNBLOCK�SIG_SETMASKr
rr
r
rrrcCs(z
||�WStk
r"|YSXdS)zsConvert a numeric value to an IntEnum member.
    If it's not a known member, return the numeric value itself.
    N)�
ValueError)�valueZ
enum_klassr
r
r�_int_to_enums
rc	Cs,z
t|�WSttfk
r&|YSXdS)zmConvert an IntEnum member to a numeric value.
    If it's not an IntEnum member return the value itself.
    N)�intr�	TypeError)rr
r
r�_enum_to_int#s
rcCst�t|�t|��}t|t�S�N)�_signal�signalrrr
�Z	signalnumZhandlerr
r
rr-srcCst�|�}t|t�Sr)r�	getsignalrr
rr
r
rr3s
rcCst�||�}tdd�|D��S)Ncss|]}t|t�VqdSr�rr��.0�xr
r
r�	<genexpr>=sz"pthread_sigmask.<locals>.<genexpr>)rr�set)Zhow�maskZsigs_setr
r
rr:s�
sigpendingcCsdd�t��D�S)NcSsh|]}t|t��qSr
r r!r
r
r�	<setcomp>Dszsigpending.<locals>.<setcomp>)rr'r
r
r
rr'Bs�sigwaitcCst�|�}t|t�Sr)rr)rr)ZsigsetZretsigr
r
rr)Hs
�
valid_signalscCsdd�t��D�S)NcSsh|]}t|t��qSr
r r!r
r
rr(Rsz valid_signals.<locals>.<setcomp>)rr*r
r
r
rr*Ps)r�	functoolsrZ_wraps�enumrZ_IntEnum�globalsZ_globals�	_convert_�__name__rrrrr�__doc__r'r)r*r
r
r
r�<module>sR���