ok

Mini Shell

Direktori : /proc/thread-self/root/opt/alt/python39/lib64/python3.9/__pycache__/
Upload File :
Current File : //proc/thread-self/root/opt/alt/python39/lib64/python3.9/__pycache__/signal.cpython-39.pyc

a

���e�	�@sddlZddlTddlmZe�Ze�dedd��e�dedd��d	evr`e�d
edd��dd
�Zdd�Z	dd�Z
e
ej�dd��Ze
ej�dd��Zd	evr�e
ej
�dd	��Z
devr�e
ej�dd��Zdevr�e
ej�dd��Zdev�re
ej�dd��Z[[
dS)�N)�*)�IntEnum�SignalscCs(|��r|�d�r|�d�p&|�d�S)NZSIGZSIG_ZCTRL_)�isupper�
startswith��name�r	�+/opt/alt/python39/lib64/python3.9/signal.py�<lambda>	s�r�HandlerscCs|dvS)N)�SIG_DFL�SIG_IGNr	rr	r	r
r��pthread_sigmaskZSigmaskscCs|dvS)N)�	SIG_BLOCK�SIG_UNBLOCK�SIG_SETMASKr	rr	r	r
rrcCs&z
||�WSty |YS0dS)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|�WSttfy$|YS0dS)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
rcs�fdd�}|S)Ncs�j|_|S�N)�__doc__)�wrapper��wrappedr	r
�	decorator1sz_wraps.<locals>.decoratorr	)rrr	rr
�_wraps0sr cCst�t|�t|��}t|t�Sr)�_signal�signalrrr�Z	signalnumZhandlerr	r	r
r"6sr"cCst�|�}t|t�Sr)r!�	getsignalrrr#r	r	r
r$<s
r$cCst�||�}tdd�|D��S)Ncss|]}t|t�VqdSr�rr��.0�xr	r	r
�	<genexpr>Frz"pthread_sigmask.<locals>.<genexpr>)r!r�set)Zhow�maskZsigs_setr	r	r
rCs�
sigpendingcCsdd�t��D�S)NcSsh|]}t|t��qSr	r%r&r	r	r
�	<setcomp>Lrzsigpending.<locals>.<setcomp>)r!r,r	r	r	r
r,Js�sigwaitcCst�|�}t|t�Sr)r!r.rr)ZsigsetZretsigr	r	r
r.Ps
�
valid_signalscCsdd�t��D�S)NcSsh|]}t|t��qSr	r%r&r	r	r
r-Yrz valid_signals.<locals>.<setcomp>)r!r/r	r	r	r
r/Ws)r!�enumrZ_IntEnum�globalsZ_globals�	_convert_�__name__rrr r"r$rr,r.r/r	r	r	r
�<module>sH���









Zerion Mini Shell 1.0