CasperSecurity

Current Path : /lib/python3/dist-packages/apport/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/apport/__pycache__/REThread.cpython-310.pyc

o

�v�f��@s*dZddlZddlZGdd�dej�ZdS)zIEnhanced Thread with support for return values and exception propagation.�Nc@sDeZdZdZddddifdd�Zdd�Zdd	�Zd
d�Zdd
�ZdS)�REThreadz4Thread with return values and exception propagation.N�cCs8tj�||||||�||_||_||_d|_d|_dS)z<Initialize Thread, identical to threading.Thread.__init__().N)�	threading�Thread�__init__�_REThread__target�_REThread__args�_REThread__kwargs�_retval�
_exception)�self�group�target�name�args�kwargsrr�1/usr/lib/python3/dist-packages/apport/REThread.pyrs
zREThread.__init__cCsH|jr"z|j|ji|j��|_WdStrt��|_YdSYdSdS)z9Run target function, identical to threading.Thread.run().N)rrr	r
�sys�exc_infor�rrrr�runs��zREThread.runcCs|��rJ�|jrJ�|jS)z�Return value from target function.

        This can only be called after the thread has finished, i. e. when
        is_alive() is False and did not terminate with an exception.
        )�is_aliverr
rrrr�return_value&s
zREThread.return_valuecCs|jS)zAReturn (type, value, traceback) of the exception caught in run().)rrrrrr0szREThread.exc_infocCs6|jrtjdkr|jd�|jd��td�dSdS)zbRaise the exception caught in the thread.

        Do nothing if no exception was caught.
        �3��z@raise self._exception[0], self._exception[1], self._exception[2]N)rr�version�with_traceback�execrrrr�	exc_raise5s

�zREThread.exc_raise)	�__name__�
__module__�__qualname__�__doc__rrrrrrrrrrs


r)r#rrrrrrrr�<module>s
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY