File: //lib64/python3.6/http/__pycache__/cookiejar.cpython-36.pyc
3
�Qgr+ �               @   s*  d Z ddddddddgZd	d
lZd	d
lZd	d
lZd	d
lZd	d
lZd	d
lZyd	d
l	Z
W n ek
rp   d	d
lZ
Y nX d	d
l
Zd	dlmZ dZd
ad
d� Zeejj�ZdZdd� ZdZdd� ZdddddddgZddddd d!d"d#d$d%d&d'gZg ZxeD ]Zej ej!� � q�W dud(d)�Z"dvd*d+�Z#d
d
d
d
d,�Z$ej%d-ej&�Z'd.d/� Z(d0d1� Z)ej%d2ej&�Z*ej%d3ej+ej&B �Z,ej%d4ej-ej&B �Z.d5d6� Z/ej%d7ej-ej&B �Z0d8d9� Z1d:d;� Z2ej%d<�Z3ej%d=�Z4ej%d>�Z5ej%d?�Z6d@dA� Z7ej%dB�Z8dCdD� Z9dEdF� Z:dGdH� Z;ej%dIej&�Z<dJdK� Z=dLdM� Z>dNdO� Z?dPdQ� Z@ej%dRej&�ZAdSdT� ZBdUdV� ZCdWdX� ZDdYdZ� ZEd[ZFej%d\�ZGd]d^� ZHd_d`� ZIdadb� ZJdcdd� ZKG ded� d�ZLG dfd� d�ZMG dgd� deM�ZNdhdi� ZOdjdk� ZPG dldm� dm�ZQG dnd� d�ZRG dod� deS�ZTG dpd� deR�ZUdqdr� ZVG dsd� deU�ZWG dtd� deU�ZXd
S )wa�  HTTP cookie handling for web clients.
This module has (now fairly distant) origins in Gisle Aas' Perl module
HTTP::Cookies, from the libwww-perl library.
Docstrings, comments and debug strings in this code refer to the
attributes of the HTTP cookie system as cookie-attributes, to distinguish
them clearly from Python attributes.
Class diagram (note that BSDDBCookieJar and the MSIE* classes are not
distributed with the Python standard library, but are available from
http://wwwsearch.sf.net/):
                        CookieJar____
                        /     \      \
            FileCookieJar      \      \
             /    |   \         \      \
 MozillaCookieJar | LWPCookieJar \      \
                  |               |      \
                  |   ---MSIEBase |       \
                  |  /      |     |        \
                  | /   MSIEDBCookieJar BSDDBCookieJar
                  |/
               MSIECookieJar
�Cookie�	CookieJar�CookiePolicy�DefaultCookiePolicy�
FileCookieJar�LWPCookieJar�	LoadError�MozillaCookieJar�    N)�timegmFc              G   s(   t sd S tsdd l}|jd�atj | � S )Nr	   zhttp.cookiejar)�debug�logger�loggingZ	getLogger)�argsr
   � r   �&/usr/lib64/python3.6/http/cookiejar.py�_debug.   s    
r   zQa filename was not supplied (nor was the CookieJar instance initialised with one)c              C   sJ   dd l } dd l}dd l}| j� }|jd |� |j� }|jd| dd� d S )Nr	   zhttp.cookiejar bug!
%s�   )�
stacklevel)�io�warnings�	traceback�StringIO�	print_exc�getvalue�warn)r   r   r   �f�msgr   r   r   �_warn_unhandled_exception<