AlkantarClanX12

Your IP : 3.14.250.187


Current Path : /opt/alt/python310/lib64/python3.10/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/__pycache__/signal.cpython-310.opt-2.pyc

o

6��f�	�@sddlZddlTddlmZe�Ze�dedd��e�dedd��d	evr0e�d
edd��dd
�Zdd�Z	dd�Z
e
ej�dd��Ze
ej�dd��Zd	evr[e
ej
�dd	��Z
devrhe
ej�dd��Zdevrue
ej�dd��Zdevr�e
ej�dd��Z[[
dS)�N)�*)�IntEnum�SignalscCs(|��r|�d�o|�d�p|�d�S)NZSIGZSIG_ZCTRL_)�isupper�
startswith��name�r	�-/opt/alt/python310/lib64/python3.10/signal.py�<lambda>	s�
r�HandlerscC�|dvS)N)�SIG_DFL�SIG_IGNr	rr	r	r
r��pthread_sigmaskZSigmaskscCr
)N)�	SIG_BLOCK�SIG_UNBLOCK�SIG_SETMASKr	rr	r	r
rrcCs$	z||�WSty|YSw�N)�
ValueError)�valueZ
enum_klassr	r	r
�_int_to_enums
�rc	Cs(	zt|�WSttfy|YSwr)�intr�	TypeError)rr	r	r
�_enum_to_int"s
�rcs�fdd�}|S)Ncs�j|_|Sr)�__doc__)�wrapper��wrappedr	r
�	decorator1sz_wraps.<locals>.decoratorr	)rr r	rr
�_wraps0sr!cCst�t|�t|��}t|t�Sr)�_signal�signalrrr�Z	signalnumZhandlerr	r	r
r#6s
r#cC�t�|�}t|t�Sr)r"�	getsignalrrr$r	r	r
r&<�

r&cCst�||�}tdd�|D��S)Ncss�|]}t|t�VqdSr�rr��.0�xr	r	r
�	<genexpr>Fs�z"pthread_sigmask.<locals>.<genexpr>)r"r�set)Zhow�maskZsigs_setr	r	r
rCs�
sigpendingcC�dd�t��D�S)NcS�h|]}t|t��qSr	r(r)r	r	r
�	<setcomp>L�zsigpending.<locals>.<setcomp>)r"r/r	r	r	r
r/J��sigwaitcCr%r)r"r5rr)ZsigsetZretsigr	r	r
r5Pr'�
valid_signalscCr0)NcSr1r	r(r)r	r	r
r2Yr3z valid_signals.<locals>.<setcomp>)r"r6r	r	r	r
r6Wr4)r"�enumrZ_IntEnum�globalsZ_globals�	_convert_�__name__rrr!r#r&rr/r5r6r	r	r	r
�<module>sJ���