Your IP : 3.144.119.149


Current Path : /opt/alt/python312/lib64/python3.12/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/__pycache__/signal.cpython-312.pyc

�

�Q�f�	���ddlZddl�ddlmZe�Zejded��ejded��devrejd	ed
��d�Zd�Z	d
�Z
e
ej�d��Ze
ej�d��Zdevre
ej�d��Z
devre
ej�d��Zdevre
ej�d��Zdevre
ej �d��Z[[
y)�N)�*)�IntEnum�Signalsc��|j�xr%|jd�xr|jd�xs|jd�S)N�SIG�SIG_�CTRL_)�isupper�
startswith��names �-/opt/alt/python312/lib64/python3.12/signal.py�<lambda>r	sD���L�L�N�
I�����'�G�����0G�,G�
(����w�'�
(��Handlersc�
�|dvS)N)�SIG_DFL�SIG_IGN�rs rrrs
��T�3�3r�pthread_sigmask�Sigmasksc�
�|dvS)N)�	SIG_BLOCK�SIG_UNBLOCK�SIG_SETMASKrrs rrrs
���!L�Lrc�Z�t|t�s|S	||�S#t$r|cYSwxYw)ztConvert a possible numeric value to an IntEnum member.
    If it's not a known member, return the value itself.
    )�
isinstance�int�
ValueError)�value�
enum_klasss  r�_int_to_enumr"s7���e�S�!�����%� � �������s��*�*c�H�	t|�S#ttf$r|cYSwxYw)zmConvert an IntEnum member to a numeric value.
    If it's not an IntEnum member return the value itself.
    )rr�	TypeError)r s r�_enum_to_intr%$s*����5�z����	�"�����s�

�!�!c����fd�}|S)Nc�*���j|_|S�N)�__doc__)�wrapper�wrappeds �r�	decoratorz_wraps.<locals>.decorator3s���!�/�/����rr)r+r,s` r�_wrapsr-2s�����rc�r�tjt|�t|��}t|t�Sr()�_signal�signalr%r"r��	signalnum�handlers  rr0r08s)���n�n�\�)�4�l�7�6K�L�G����*�*rc�L�tj|�}t|t�Sr()r/�	getsignalr"rr1s  rr5r5>s�����	�*�G����*�*rc�R�tj||�}td�|D��S)Nc3�<K�|]}t|t����y�wr()r"r)�.0�xs  r�	<genexpr>z"pthread_sigmask.<locals>.<genexpr>Hs����>�X��<��7�+�X�s�)r/r�set)�how�mask�sigs_sets   rrrEs%���*�*�3��5���>�X�>�>�>r�
sigpendingc�l�tj�D�chc]}t|t���c}Scc}wr()r/r?r"r�r9s rr?r?Ls,��29�2D�2D�2F�G�2F�Q��Q��(�2F�G�G��G��1�sigwaitc�L�tj|�}t|t�Sr()r/rCr"r)�sigset�retsigs  rrCrCRs������(���F�G�,�,r�
valid_signalsc�l�tj�D�chc]}t|t���c}Scc}wr()r/rGr"rrAs rrGrGYs,��29�2G�2G�2I�J�2I�Q��Q��(�2I�J�J��JrB)r/�enumr�_IntEnum�globals�_globals�	_convert_�__name__r"r%r-r0r5rr?rCrGrrr�<module>rOs\����$��9�������8�	(�)������H�3�5��� ��H�����L�N�
	��������+��+�
�����+��+�
�� ��G�#�#�$�?�%�?�
�8���G����H� �H�
����G�O�O��-��-�
�h���G�!�!�"�K�#�K�
�fr

?>