MINI MINI MANI MO
3
  \8H              
   @   s  d Z ddlZddddddd	d
gZd;ddZd<ddZd
d Zdd ZeZdd ZeZ	dd Z
dedddfddZeddfddZ
dd Zdd	 ZG dd deZdd Zd d! Zd"d# Zd$d% Zd&d' Zd(d) Zd=d+dZd>d,dZG d-d. d.eZG d/d
 d
eZdZy0dd0lmZm Z m!Z!mZmZm"Z" e Z#e!Z$d1ZW n. e%k
rf   g Zd2Z#i Z$d*a&d3d4 Z"Y nX eej' es e(e)gZ*e*j+e, xe*D ]Z-e
d5e-d6 qW ej.j/Z/e/d*krd7Z0ne/rd2Z0nd5Z0e
e0e1d*d8 e2ed9rd:Z3nd5Z3e
e3e4d*d8 [dS )?z&Python part of the warnings subsystem.    Nwarn
warn_explicitshowwarning
formatwarningfilterwarningssimplefilter
resetwarningscatch_warningsc             C   s   t | |||||}t| dS )z7Hook to write a warning to a file; replace if you like.N)WarningMessage_showwarnmsg_impl)messagecategoryfilenamelinenofilelinemsg r    /usr/lib64/python3.6/warnings.pyr   
   s    c             C   s   t | |||d|}t|S )z.Function to format a warning the standard way.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   sysstderr_formatwarnmsgwriteOSError)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 }qW |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   	linecachegetline	Exceptionstripsourcetracemallocget_object_traceback)r   sr   r   r"