AlkantarClanX12
Current Path : /lib64/python3.8/http/__pycache__/ |
Current File : //lib64/python3.8/http/__pycache__/cookiejar.cpython-38.opt-1.pyc |
U e5d#, � @ s d Z ddddddddgZd d lZd d lZd d lZd d lZd d lZd d lZd d l Zd d l Zd d lZ d dlmZ dZd ad d� Zee jj�ZdZdd� ZdZdd� ZdddddddgZddddd d!d"d#d$d%d&d'gZg ZeD ]Ze�e� � � q�dud(d)�Z!dvd*d+�Z"d d d d d,�Z#e�$d-ej%�Z&d.d/� Z'd0d1� Z(e�$d2ej%�Z)e�$d3ej*ej%B �Z+e�$d4ej,ej%B �Z-d5d6� Z.e�$d7ej,ej%B �Z/d8d9� Z0d:d;� Z1e�$d<�Z2e�$d=�Z3e�$d>�Z4e�$d?�Z5d@dA� Z6e�$dB�Z7dCdD� Z8dEdF� Z9dGdH� Z:e�$dIej%�Z;dJdK� Z<dLdM� Z=dNdO� Z>dPdQ� Z?e�$dRej%�Z@dSdT� ZAdUdV� ZBdWdX� ZCdYdZ� ZDd[ZEe�$d\�ZFd]d^� ZGd_d`� ZHdadb� ZIdcdd� ZJG ded� d�ZKG dfd� d�ZLG dgd� deL�ZMdhdi� ZNdjdk� ZOG dldm� dm�ZPG dnd� d�ZQG dod� deR�ZSG dpd� deQ�ZTdqdr� ZUG dsd� deT�ZVG dtd� deT�ZWd 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}|�d�atj | � S )Nr zhttp.cookiejar)�debug�logger�loggingZ getLogger)�argsr � r �&/usr/lib64/python3.8/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}| �� }|�d |� |�� }|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: s r i� c C s� | d d� \}}}}}}|t kr�d| kr4dkr�n nhd| krLdkr�n nPd| krddkr�n n8d| kr|dkr�n n d| kr�dkr�n nt| �S d S d S ) N� � � � r � �; �= )� EPOCH_YEARr )�tt�year�monthZmday�hour�min�secr r r �_timegmI s&