📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-27 15:11:37
📂
/
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
sentry_sdk
/
integrations
/
__pycache__
✏️
Editing: atexit.cpython-312.pyc
� Yr*j � � � d dl Z d dlZd dlZd dlmZ d dlZd dlmZ d dlm Z erd dlm Z mZ dededdfd �Z G d � de� Zy)� N)� TYPE_CHECKING)�Integration)�logger)�Any�Optional�pending�timeout�returnc �� � dt ddfd�} |d| z � |d|z � |dt j dk( xr d xs d z � t j j � y)z�This is the default shutdown callback that is set on the options. It prints out a message to stderr that informs the user that some events are still pending and the process is waiting for them to flush out. �msgr Nc �H � t j j | dz � y )N� )�sys�stderr�write)r s �M/opt/hc_python/lib/python3.12/site-packages/sentry_sdk/integrations/atexit.py�echozdefault_callback.<locals>.echo s � �� � ����t��$� z.Sentry is attempting to send %i pending eventszWaiting up to %s secondszPress Ctrl-%s to quit�nt�Break�C)�str�os�namer r �flush)r r r s r �default_callbackr sc � �%�#� %�$� %� � 9�G� C�D�� #�g� -�.�� �B�G�G�t�O�$?��$F�3� G�H��J�J���r c �, � e Zd ZdZddd�Zedd�� Zy)�AtexitIntegration�atexitNc �"