Your IP : 3.139.86.58
3
��2a8H �
@ s d dl Z dddddddd gZd:d
d�Zd;dd�Zdd
� Zdd� ZeZdd� ZeZdd� Z de
dd dfdd�Ze
d dfdd�Zdd� Z
dd� ZG dd� de�Zdd� Zdd � Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd<d*d�Zd=d+d�ZG d,d-� d-e�ZG d.d � d e�ZdZy0d d/lmZmZm Z mZmZm!Z! eZ"e Z#d0ZW n. e$k
�rb g Zd1Z"i Z#d)a%d2d3� Z!Y nX ee j&� e�s�e'e(gZ)e)j*e+� xe)D ]Z,ed4e,d5� �q�W e j-j.Z.e.d)k�r�d6Z/ne.�r�d1Z/nd4Z/ee/e0d)d7� e1e d8��r�d9Z2nd4Z2ee2e3d)d7� [dS )>� N�warn�
warn_explicit�showwarning�
formatwarning�filterwarnings�simplefilter�
resetwarnings�catch_warningsc C s t | |||||�}t|� d S )N)�WarningMessage�_showwarnmsg_impl)�message�category�filename�lineno�file�line�msg� r �-/opt/alt/python36/lib64/python3.6/warnings.pyr
s c C s t | |||d |�}t|�S )N)r
�_formatwarnmsg_impl)r r
r r r r r r r r s c C sP | j }|d kr tj}|d kr d S t| �}y|j|� W n tk
rJ Y nX d S )N)r �sys�stderr�_formatwarnmsg�write�OSError)r r �textr r r r s r c C sL d| j | j| jj| jf }| jd kr`ydd l}|j| j | j�}W qf tk
r\ d }d }Y qfX n| j}|r~|j � }|d| 7 }| j
d k �rHydd l}|j| j
�}W n tk
r� d }Y nX |d k �rH|d7 }xx|D ]p}|d|j |jf 7 }y$|d k �r
|j|j |j�}nd }W n tk
�r* d }Y nX |r�|j � }|d| 7 }q�W |S )Nz%s:%s: %s: %s
r z %s
z.Object allocated at (most recent call first):
z File "%s", lineno %s
z %s
)
r r r
�__name__r r � linecache�getline� Exception�strip�source�tracemalloc�get_object_traceback)r �sr r r"