Uname : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
Soft : Apache
Ip : 203.161.60.200
Port : 443
~
/
opt
/
alt
/
python311
/
lib64
/
python3.11
/
unittest
/
__pycache__
[ HOME ]
Exec
Submit
signals.cpython-311.pyc
� �,dc � �~ � d dl Z d dlZd dlmZ dZ G d� de� � Z ej � � Zd� Z d� Z dad� Zd d �Z dS )� N)�wrapsTc � � e Zd Zd� Zd� ZdS )�_InterruptHandlerc �� � d| _ || _ t |t � � r@|t j k r t j }n#|t j k rd� }nt d� � �|| _ d S )NFc � � d S �N� )� unused_signum�unused_frames �7/opt/alt/python311/lib64/python3.11/unittest/signals.py�default_handlerz3_InterruptHandler.__init__.<locals>.default_handler s � ��D� zYexpected SIGINT signal handler to be signal.SIG_IGN, signal.SIG_DFL, or a callable object) �called�original_handler� isinstance�int�signal�SIG_DFL�default_int_handler�SIG_IGN� TypeErrorr )�selfr s r �__init__z_InterruptHandler.__init__ s� � ���� /����o�s�+�+� 3��&�.�0�0�"(�"<��� �F�N�2�2�� � � � � !2� 3� 3� 3� /����r c � � t j t j � � }|| ur| � ||� � | j r| � ||� � d| _ t � � � D ]}|� � � �d S )NT)r � getsignal�SIGINTr r �_results�keys�stop)r �signum�frame�installed_handler�results r �__call__z_InterruptHandler.__call__ s� � �"�,�V�]�;�;���D�(�(� � � ���/�/�/��;� 0�� � ���/�/�/�����m�m�o�o� � �F��K�K�M�M�M�M� � r N)�__name__� __module__�__qualname__r r$ r r r r r s2 � � � � � �/� /� /�$� � � � r r c � � dt | <