Your IP : 18.218.5.216


Current Path : /opt/alt/python35/lib64/python3.5/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/__pycache__/signal.cpython-35.opt-2.pyc



���]K�@s~ddlZddlTddlmZddlmZe�Zej	de
dd��ej	de
d	d��d
ekr�ej	de
dd��d
d�Zdd�Zeej
�dd��Z
eej�dd��Zd
ekreej�dd
��Zejje_dekrAeej�dd��Zdekrteej�dd��Zeje_[[dS)�N)�*)�wraps)�IntEnum�SignalscCs8|j�r+|jd�r+|jd�p7|jd�S)NZSIGZSIG_ZCTRL_)�isupper�
startswith)�name�r	�+/opt/alt/python35/lib64/python3.5/signal.py�<lambda>
sr�HandlerscCs
|dkS)N�SIG_DFL�SIG_IGN)r
rr	)rr	r	r
rs�pthread_sigmask�SigmaskscCs
|dkS)N�	SIG_BLOCK�SIG_UNBLOCK�SIG_SETMASK)rrrr	)rr	r	r
rscCs+y||�SWntk
r&|SYnXdS)N)�
ValueError)�value�
enum_klassr	r	r
�_int_to_enums
rcCs1yt|�SWnttfk
r,|SYnXdS)N)�intr�	TypeError)rr	r	r
�_enum_to_int#srcCs+tjt|�t|��}t|t�S)N)�_signal�signalrrr)�	signalnum�handlerr	r	r
r-srcCstj|�}t|t�S)N)r�	getsignalrr)rrr	r	r
r3srcCs)tj||�}tdd�|D��S)Ncss|]}t|t�VqdS)N)rr)�.0�xr	r	r
�	<genexpr>=sz"pthread_sigmask.<locals>.<genexpr>)rr�set)�how�mask�sigs_setr	r	r
r:s�
sigpendingcCs#tj�}tdd�|D��S)Ncss|]}t|t�VqdS)N)rr)r r!r	r	r
r"Eszsigpending.<locals>.<genexpr>)rr'r#)�sigsr	r	r
r'Bs�sigwaitcCstj|�}t|t�S)N)rr)rr)�sigset�retsigr	r	r
r)Is)r�	functoolsrZ_wraps�enumr�_IntEnum�globalsZ_globals�_convert�__name__rrrrr�__doc__r'r)r	r	r	r
�<module>s6
	






?>