Your IP : 18.191.205.110


Current Path : /opt/alt/python311/lib64/python3.11/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/__pycache__/signal.cpython-311.pyc

�

c��f�	���ddlZddlTddlmZe��Zejded���ejded���devrejd	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[[
dS)�N)�*)�IntEnum�Signalsc��|���r+|�d��o|�d��p|�d��S)N�SIG�SIG_�CTRL_)�isupper�
startswith��names �-/opt/alt/python311/lib64/python3.11/signal.py�<lambda>r	sO���L�L�N�N�
I�����'�'�G�����0G�0G�,G�
(����w�'�'���Handlersc�
�|dvS)N)�SIG_DFL�SIG_IGN�rs rrrs��T�3�3�r�pthread_sigmask�Sigmasksc�
�|dvS)N)�	SIG_BLOCK�SIG_UNBLOCK�SIG_SETMASKrrs rrrs���!L�L�rc�l�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"sT���e�S�!�!������z�%� � � �������������s�
$�3�3c�T�	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�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��tjt|��t|����}t|t��Sr()�_signal�signalr%r"r��	signalnum�handlers  rr0r08s3���n�\�)�4�4�l�7�6K�6K�L�L�G����*�*�*rc�T�tj|��}t|t��Sr()r/�	getsignalr"rr1s  rr5r5>s"����	�*�*�G����*�*�*rc�^�tj||��}td�|D����S)Nc3�@K�|]}t|t��V��dSr(�r"r��.0�xs  r�	<genexpr>z"pthread_sigmask.<locals>.<genexpr>Hs,����>�>��<��7�+�+�>�>�>�>�>�>r)r/r�set)�how�mask�sigs_sets   rrrEs1���*�3��5�5���>�>�X�>�>�>�>�>�>r�
sigpendingc�<�d�tj��D��S)Nc�8�h|]}t|t����Srr8r9s  r�	<setcomp>zsigpending.<locals>.<setcomp>Ns"��G�G�G�Q��Q��(�(�G�G�Gr)r/rArrrrArALs��G�G�'�2D�2F�2F�G�G�G�Gr�sigwaitc�T�tj|��}t|t��Sr()r/rEr"r)�sigset�retsigs  rrErERs!�����(�(���F�G�,�,�,r�
valid_signalsc�<�d�tj��D��S)Nc�8�h|]}t|t����Srr8r9s  rrDz valid_signals.<locals>.<setcomp>[s"��J�J�J�Q��Q��(�(�J�J�Jr)r/rIrrrrIrIYs��J�J�'�2G�2I�2I�J�J�J�Jr)r/�enumr�_IntEnum�globals�_globals�	_convert_�__name__r"r%r-r0r5rrArErIrrr�<module>rRs����������$�$�$�$�$�$��7�9�9������8�	(�	(�)�)�)�����H�3�3�5�5�5��� � ��H����L�L�N�N�N�
	�	�	�������������+�+���+�
������+�+���+�
�� � ��V�G�#�$�$�?�?�%�$�?�
�8����V�G����H�H� ��H�
�����V�G�O���-�-���-�
�h����V�G�!�"�"�K�K�#�"�K�
�f�f�fr

?>