ok

Mini Shell

Direktori : /proc/thread-self/root/opt/alt/python37/lib64/python3.7/__pycache__/
Upload File :
Current File : //proc/thread-self/root/opt/alt/python37/lib64/python3.7/__pycache__/signal.cpython-37.pyc

B

� fK�@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_[[dS)�N)�*)�wraps)�IntEnum�SignalscCs(|��r|�d�r|�d�p&|�d�S)NZSIGZSIG_ZCTRL_)�isupper�
startswith)�name�r	�+/opt/alt/python37/lib64/python3.7/signal.py�<lambda>
sr�HandlerscCs|dkS)N)�SIG_DFL�SIG_IGNr	)rr	r	r
r��pthread_sigmaskZSigmaskscCs|dkS)N)�	SIG_BLOCK�SIG_UNBLOCK�SIG_SETMASKr	)rr	r	r
rrcCs"y||�Stk
r|SXdS)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_enumsrc	Cs&yt|�Sttfk
r |SXdS)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#srcCst�t|�t|��}t|t�S)N)�_signal�signalrrr)�	signalnum�handlerr	r	r
r-srcCst�|�}t|t�S)N)r�	getsignalrr)rrr	r	r
r3s
rcCst�||�}tdd�|D��S)Ncss|]}t|t�VqdS)N)rr)�.0�xr	r	r
�	<genexpr>=sz"pthread_sigmask.<locals>.<genexpr>)rr�set)Zhow�maskZsigs_setr	r	r
r:s�
sigpendingcCst��}tdd�|D��S)Ncss|]}t|t�VqdS)N)rr)rr r	r	r
r!Eszsigpending.<locals>.<genexpr>)rr$r")Zsigsr	r	r
r$Bs�sigwaitcCst�|�}t|t�S)N)rr%rr)ZsigsetZretsigr	r	r
r%Is
)r�	functoolsrZ_wraps�enumrZ_IntEnum�globalsZ_globals�_convert�__name__rrrrr�__doc__r$r%r	r	r	r
�<module>s6








Zerion Mini Shell 1.0