AlkantarClanX12

Your IP : 3.133.108.47


Current Path : /lib/python3.6/site-packages/pip/utils/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/pip/utils/__pycache__/deprecation.cpython-36.pyc

3

�Pf��@s�dZddlmZddlZddlZGdd�de�ZGdd�de�ZGdd	�d	e�Z	Gd
d�dee�Z
Gdd
�d
e�Zdaddd�Z
dd�ZdS)zN
A module that implements tooling to enable easy warnings about deprecations.
�)�absolute_importNc@seZdZdS)�PipDeprecationWarningN)�__name__�
__module__�__qualname__�rr�!/usr/lib/python3.6/deprecation.pyr
src@seZdZdS)�PendingN)rrrrrrrr	sr	c@seZdZdS)�RemovedInPip10WarningN)rrrrrrrr
sr
c@seZdZdS)�RemovedInPip11WarningN)rrrrrrrrsrc@seZdZdS)�Python26DeprecationWarningN)rrrrrrrrsrcCsx|dk	r$tdk	rtt||||||�nPt|t�rbtjd�}d|}t|t�rV|j|�qt|j|�nt||||||�dS)Nzpip.deprecationszDEPRECATION: %s)�_warnings_showwarning�
issubclassr�loggingZ	getLoggerr	Zwarning�error)�message�category�filename�lineno�file�lineZloggerZlog_messagerrr�_showwarning$s


rcCs(tjdtdd�tdkr$tjatt_dS)N�defaultT)�append)�warnings�simplefilterrr
�showwarningrrrrr�install_warning_loggerDsr)NN)�__doc__Z
__future__rrr�Warningr�objectr	r
rrr
rrrrrr�<module>s