Hacked By AnonymousFox
�
�Q�fc � �z � d dl Z d dlZd dlmZ dZ G d� de� Z ej � Zd� Z d� Z
dad� Zd
d �Z
y)� N)�wrapsTc � � e Zd Zd� Zd� Zy)�_InterruptHandlerc � � d| _ || _ t |t � rT|t j
k( rt j }|| _ y |t j k( rd� }|| _ y t d� �|| _ y )NFc � � y �N� )�
unused_signum�unused_frames �7/opt/alt/python312/lib64/python3.12/unittest/signals.py�default_handlerz3_InterruptHandler.__init__.<locals>.default_handler s � �� 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__
sw � ���� /����o�s�+��&�.�.�0�"(�"<�"<�� /��� !�F�N�N�2�� /��� � !2� 3� 3� /��r c � � t j t j � }|| ur| j ||� | j r| j ||� d| _ t
j
� D ] }|j � � y )NT)r � getsignal�SIGINTr
r �_results�keys�stop)r �signum�frame�installed_handler�results r �__call__z_InterruptHandler.__call__ sh � �"�,�,�V�]�]�;���D�(�
� � ���/��;�;�� � ���/�����m�m�o�F��K�K�M� &r N)�__name__�
__module__�__qualname__r r$ r r r r r s � �/�$r r c � � dt | <