$82 GRAYBYTE WORDPRESS FILE MANAGER $44

SERVER : in-mum-web1330.main-hosting.eu #1 SMP Mon Feb 10 22:45:17 UTC 2025
SERVER IP : 91.108.106.143 | ADMIN IP 216.73.216.143
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python37/lib64/python3.7/email/__pycache__/

HOME
Current File : /opt/alt/python37/lib64/python3.7/email/__pycache__//_parseaddr.cpython-37.opt-1.pyc
B

� fE�@s�dZddddgZddlZddlZdZdZd	Zd
ddd
dddddddddddddddddddd gZd!d"d#d$d%d&d'gZddddd(d)d*d(d+d*d,d+d-d,d.�Z	d/d�Z
d0d1�Zd2d�Zd3d�Z
d4d�ZGd5d6�d6�ZGd7d8�d8e�ZdS)9zcEmail address parsing code.

Lifted directly from rfc822.py.  This should eventually be rewritten.
�	mktime_tz�	parsedate�parsedate_tz�quote�N� �z, ZjanZfebZmarZaprZmayZjunZjulZaug�sep�octZnovZdecZjanuaryZfebruaryZmarchZaprilZjuneZjulyZaugustZ	septemberZoctoberZnovemberZdecemberZmonZtueZwedZthuZfriZsatZsunip���i���i���i����iD���i��)ZUTZUTCZGMT�ZZASTZADTZESTZEDTZCSTZCDTZMSTZMDTZPSTZPDTcCs,t|�}|sdS|ddkr$d|d<t|�S)zQConvert a date string to a time tuple.

    Accounts for military timezones.
    N�	r)�
_parsedate_tz�tuple)�dataZres�r�5/opt/alt/python37/lib64/python3.7/email/_parseaddr.pyr-sc
Cs�|sdS|��}|sdS|d�d�s6|d��tkr>|d=n.|d�d�}|dkrl|d|dd�|d<t|�dkr�|d�d�}t|�dkr�||dd�}t|�dk�r|d}|�d�}|d	kr�|�d�}|dkr�|d|�||d�g|dd�<n
|�d
�t|�dk�rdS|dd�}|\}}}}}|��}|tk�rb||��}}|tk�rbdSt�	|�d}|dk�r�|d8}|d	dk�r�|dd	�}|�d
�}|dk�r�||}}|d	dk�r�|dd	�}|d�
��s�||}}|d	dk�r|dd	�}|�d
�}t|�dk�r,|\}	}
d}n~t|�dk�rF|\}	}
}ndt|�dk�r�d|dk�r�|d�d�}t|�dk�r�|\}	}
d}nt|�dk�r�|\}	}
}ndSy,t|�}t|�}t|	�}	t|
�}
t|�}Wntk
�r�dSX|dk�r|dk�r|d7}n|d7}d}|�
�}|tk�r4t|}n>yt|�}Wntk
�rVYnX|dk�rr|�d��rrd}|�r�|dk�r�d	}
|}nd}
|
|dd|dd}||||	|
|ddd	|g
S)a�Convert date to extended time tuple.

    The last (additional) element is the time zone offset in seconds, except if
    the timezone was specified as -0000.  In that case the last element is
    None.  This indicates a UTC timestamp that explicitly declaims knowledge of
    the source timezone, as opposed to a +0000 timestamp that indicates the
    source timezone really was UTC.

    Nr�,���-��+���r���:��0�.�d�Dili�i�<)�split�endswith�lower�	_daynames�rfind�len�find�append�_monthnames�index�isdigit�int�
ValueError�upper�
_timezones�
startswith)r�iZstuff�sZddZmmZyyZtmZtzZthhZtmmZtssZtzoffsetZtzsignrrrr9s�


"














rcCs&t|�}t|t�r|dd�S|SdS)z&Convert a time string to a time tuple.Nr)r�
isinstancer
)r�trrrr�s
cCs<|ddkr"t�|dd�d�St�|�}||dSdS)zETurn a 10-tuple as returned by parsedate_tz() into a POSIX timestamp.rN�)r)�timeZmktime�calendarZtimegm)rr4rrrr�s
cCs|�dd��dd�S)z�Prepare string to be used in a quoted string.

    Turns backslash and double quote characters into quoted pairs.  These
    are the only characters that need to be quoted inside a quoted string.
    Does not add the surrounding double quotes.
    �\z\\�"z\")�replace)�strrrrr�sc@s|eZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dd�Z
ddd�Zdd�Zdd�Z
dd�Zddd�Zdd�ZdS) �
AddrlistClassaAddress parser class by Ben Escoto.

    To understand what this class does, it helps to have a copy of RFC 2822 in
    front of you.

    Note: this class interface is deprecated and may be removed in the future.
    Use email.utils.AddressList instead.
    cCsZd|_d|_d|_d|_|j|j|_|j|j|j|_|j�dd�|_||_g|_	dS)z�Initialize a new instance.

        `field' is an unparsed address header field, containing
        one or more addresses.
        z()<>@,:;."[]rz 	z
rrN)
�specials�pos�LWSZCR�FWS�atomendsr:�
phraseends�field�commentlist)�selfrCrrr�__init__�szAddrlistClass.__init__cCs�g}x�|jt|j�kr�|j|j|jdkr^|j|jdkrN|�|j|j�|jd7_q|j|jdkr�|j�|���qPqWt�|�S)z&Skip white space and extract comments.z

r�()	r>r&rCr?r(rD�
getcomment�EMPTYSTRING�join)rEZwslistrrr�gotonext�szAddrlistClass.gotonextcCs>g}x4|jt|j�kr8|��}|r,||7}q|�d�qW|S)zVParse all addresses.

        Returns a list containing all of the addresses.
        )rr)r>r&rC�
getaddressr()rE�resultZadrrr�getaddrlist�s
zAddrlistClass.getaddrlistcCs�g|_|��|j}|j}|��}|��g}|jt|j�kr\|rXt�|j�|dfg}�n^|j|jdkr�||_||_|��}t�|j�|fg}�n$|j|jdk�r g}t|j�}|jd7_x�|jt|j�k�r|��|j|k�r|j|jdk�r|jd7_P||�	�}q�Wn�|j|jdk�rz|�
�}|j�rht�|�dd�|j�d	|fg}nt�|�|fg}n@|�r�t�|j�|dfg}n"|j|j|jk�r�|jd7_|��|jt|j�k�r�|j|jd
k�r�|jd7_|S)zParse the next address.rz.@rr�;�<z (r�)r)rDrKr>�
getphraselistr&rC�SPACErJ�getaddrspecrL�getrouteaddrr=)rEZoldposZoldcl�plistZ
returnlistZaddrspecZfieldlenZ	routeaddrrrrrLsL
&$zAddrlistClass.getaddresscCs�|j|jdkrdSd}|jd7_|��d}x�|jt|j�kr�|rV|��d}n~|j|jdkrx|jd7_Pn\|j|jdkr�|jd7_d}n8|j|jd	kr�|jd7_n|��}|jd7_P|��q4W|S)
z�Parse a route address (Return-path value).

        This method just skips all the route stuff and returns the addrspec.
        rPNFrr�>�@Tr)rCr>rKr&�	getdomainrT)rEZexpectrouteZadlistrrrrUAs.zAddrlistClass.getrouteaddrcCsXg}|��x�|jt|j�kr�d}|j|jdkrh|rJ|d��sJ|��|�d�|jd7_d}nd|j|jdkr�|�dt|����n<|j|j|j	kr�|r�|d��s�|��Pn|�|�
��|��}|r|r|�|�qW|jt|j�k�s|j|jdk�rt�|�S|�d�|jd7_|��|�
�}|�sJtSt�|�|S)	zParse an RFC 2822 addr-spec.TrrrFr9z"%s"rX)rKr>r&rC�strip�popr(r�getquoterA�getatomrIrJrY)rEZaslistZpreserve_wsZwsZdomainrrrrTas:
$

zAddrlistClass.getaddrspeccCs�g}x�|jt|j�kr�|j|j|jkr8|jd7_q|j|jdkrZ|j�|���q|j|jdkrz|�|���q|j|jdkr�|jd7_|�d�q|j|jdkr�tS|j|j|j	kr�Pq|�|�
��qWt�|�S)z-Get the complete domain name from an address.rrG�[rrX)r>r&rCr?rDr(rH�getdomainliteralrIrAr]rJ)rEZsdlistrrrrY�s"zAddrlistClass.getdomainTcCs�|j|j|krdSdg}d}|jd7_x�|jt|j�kr�|rZ|�|j|j�d}np|j|j|kr||jd7_PnN|r�|j|jdkr�|�|���q.n(|j|jdkr�d}n|�|j|j�|jd7_q.Wt�|�S)a�Parse a header fragment delimited by special characters.

        `beginchar' is the start character for the fragment.
        If self is not looking at an instance of `beginchar' then
        getdelimited returns the empty string.

        `endchars' is a sequence of allowable end-delimiting characters.
        Parsing stops when one of these is encountered.

        If `allowcomments' is non-zero, embedded RFC 2822 comments are allowed
        within the parsed fragment.
        rFrrGr8T)rCr>r&r(rHrIrJ)rEZ	begincharZendcharsZ
allowcommentsZslistrrrr�getdelimited�s(
zAddrlistClass.getdelimitedcCs|�ddd�S)z1Get a quote-delimited fragment from self's field.r9z"
F)r`)rErrrr\�szAddrlistClass.getquotecCs|�ddd�S)z7Get a parenthesis-delimited fragment from self's field.rGz)
T)r`)rErrrrH�szAddrlistClass.getcommentcCsd|�ddd�S)z!Parse an RFC 2822 domain-literal.z[%s]r^z]
F)r`)rErrrr_�szAddrlistClass.getdomainliteralNcCshdg}|dkr|j}xH|jt|j�kr\|j|j|kr:Pn|�|j|j�|jd7_qWt�|�S)aParse an RFC 2822 atom.

        Optional atomends specifies a different set of end token delimiters
        (the default is to use self.atomends).  This is used e.g. in
        getphraselist() since phrase endings must not include the `.' (which
        is legal in phrases).rNr)rAr>r&rCr(rIrJ)rErAZatomlistrrrr]�szAddrlistClass.getatomcCs�g}x�|jt|j�kr�|j|j|jkr8|jd7_q|j|jdkrX|�|���q|j|jdkrz|j�|���q|j|j|jkr�Pq|�|�	|j��qW|S)z�Parse a sequence of RFC 2822 phrases.

        A phrase is a sequence of words, which are in turn either RFC 2822
        atoms or quoted-strings.  Phrases are canonicalized by squeezing all
        runs of continuous whitespace into one space.
        rr9rG)
r>r&rCr@r(r\rDrHrBr])rErVrrrrR�szAddrlistClass.getphraselist)T)N)�__name__�
__module__�__qualname__�__doc__rFrKrNrLrUrTrYr`r\rHr_r]rRrrrrr<�s; &
%
r<c@sHeZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dd�Z
dS)�AddressListz@An AddressList encapsulates a list of parsed RFC 2822 addresses.cCs&t�||�|r|��|_ng|_dS)N)r<rFrN�addresslist)rErCrrrrF�szAddressList.__init__cCs
t|j�S)N)r&rf)rErrr�__len__szAddressList.__len__cCsBtd�}|jdd�|_x$|jD]}||jkr |j�|�q W|S)N)rerfr()rE�other�newaddr�xrrr�__add__s
zAddressList.__add__cCs*x$|jD]}||jkr|j�|�qW|S)N)rfr()rErhrjrrr�__iadd__s
zAddressList.__iadd__cCs2td�}x$|jD]}||jkr|j�|�qW|S)N)rerfr()rErhrirjrrr�__sub__s

zAddressList.__sub__cCs*x$|jD]}||jkr|j�|�qW|S)N)rf�remove)rErhrjrrr�__isub__s
zAddressList.__isub__cCs
|j|S)N)rf)rEr*rrr�__getitem__%szAddressList.__getitem__N)rarbrcrdrFrgrkrlrmrorprrrrre�s	re)rd�__all__r6r7rSrIZ
COMMASPACEr)r$r/rrrrrr<rerrrr�<module>s8

w	

/

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
28 Feb 2025 12.45 AM
root / 996
0755
__init__.cpython-37.opt-1.pyc
1.648 KB
17 Apr 2024 5.36 PM
root / 996
0644
__init__.cpython-37.opt-2.pyc
1.054 KB
17 Apr 2024 5.35 PM
root / 996
0644
__init__.cpython-37.pyc
1.648 KB
17 Apr 2024 5.36 PM
root / 996
0644
_encoded_words.cpython-37.opt-1.pyc
5.474 KB
17 Apr 2024 5.36 PM
root / 996
0644
_encoded_words.cpython-37.opt-2.pyc
3.632 KB
17 Apr 2024 5.35 PM
root / 996
0644
_encoded_words.cpython-37.pyc
5.474 KB
17 Apr 2024 5.36 PM
root / 996
0644
_header_value_parser.cpython-37.opt-1.pyc
75.119 KB
17 Apr 2024 5.36 PM
root / 996
0644
_header_value_parser.cpython-37.opt-2.pyc
58.956 KB
17 Apr 2024 5.35 PM
root / 996
0644
_header_value_parser.cpython-37.pyc
75.166 KB
17 Apr 2024 5.36 PM
root / 996
0644
_parseaddr.cpython-37.opt-1.pyc
12.125 KB
17 Apr 2024 5.36 PM
root / 996
0644
_parseaddr.cpython-37.opt-2.pyc
9.234 KB
17 Apr 2024 5.35 PM
root / 996
0644
_parseaddr.cpython-37.pyc
12.125 KB
17 Apr 2024 5.36 PM
root / 996
0644
_policybase.cpython-37.opt-1.pyc
14.499 KB
17 Apr 2024 5.36 PM
root / 996
0644
_policybase.cpython-37.opt-2.pyc
5.859 KB
17 Apr 2024 5.35 PM
root / 996
0644
_policybase.cpython-37.pyc
14.499 KB
17 Apr 2024 5.36 PM
root / 996
0644
base64mime.cpython-37.opt-1.pyc
3.156 KB
17 Apr 2024 5.36 PM
root / 996
0644
base64mime.cpython-37.opt-2.pyc
1.421 KB
17 Apr 2024 5.35 PM
root / 996
0644
base64mime.cpython-37.pyc
3.156 KB
17 Apr 2024 5.36 PM
root / 996
0644
charset.cpython-37.opt-1.pyc
11.22 KB
17 Apr 2024 5.36 PM
root / 996
0644
charset.cpython-37.opt-2.pyc
5.033 KB
17 Apr 2024 5.35 PM
root / 996
0644
charset.cpython-37.pyc
11.256 KB
17 Apr 2024 5.36 PM
root / 996
0644
contentmanager.cpython-37.opt-1.pyc
7.121 KB
17 Apr 2024 5.36 PM
root / 996
0644
contentmanager.cpython-37.opt-2.pyc
7.121 KB
17 Apr 2024 5.35 PM
root / 996
0644
contentmanager.cpython-37.pyc
7.121 KB
17 Apr 2024 5.36 PM
root / 996
0644
encoders.cpython-37.opt-1.pyc
1.622 KB
17 Apr 2024 5.36 PM
root / 996
0644
encoders.cpython-37.opt-2.pyc
1.279 KB
17 Apr 2024 5.35 PM
root / 996
0644
encoders.cpython-37.pyc
1.622 KB
17 Apr 2024 5.36 PM
root / 996
0644
errors.cpython-37.opt-1.pyc
6.043 KB
17 Apr 2024 5.36 PM
root / 996
0644
errors.cpython-37.opt-2.pyc
4.537 KB
17 Apr 2024 5.35 PM
root / 996
0644
errors.cpython-37.pyc
6.043 KB
17 Apr 2024 5.36 PM
root / 996
0644
feedparser.cpython-37.opt-1.pyc
10.229 KB
17 Apr 2024 5.36 PM
root / 996
0644
feedparser.cpython-37.opt-2.pyc
8.603 KB
17 Apr 2024 5.35 PM
root / 996
0644
feedparser.cpython-37.pyc
10.377 KB
17 Apr 2024 5.36 PM
root / 996
0644
generator.cpython-37.opt-1.pyc
12.204 KB
17 Apr 2024 5.36 PM
root / 996
0644
generator.cpython-37.opt-2.pyc
8.595 KB
17 Apr 2024 5.35 PM
root / 996
0644
generator.cpython-37.pyc
12.204 KB
17 Apr 2024 5.36 PM
root / 996
0644
header.cpython-37.opt-1.pyc
15.999 KB
17 Apr 2024 5.36 PM
root / 996
0644
header.cpython-37.opt-2.pyc
10.507 KB
17 Apr 2024 5.35 PM
root / 996
0644
header.cpython-37.pyc
15.999 KB
17 Apr 2024 5.36 PM
root / 996
0644
headerregistry.cpython-37.opt-1.pyc
20.883 KB
17 Apr 2024 5.36 PM
root / 996
0644
headerregistry.cpython-37.opt-2.pyc
15.247 KB
17 Apr 2024 5.35 PM
root / 996
0644
headerregistry.cpython-37.pyc
20.936 KB
17 Apr 2024 5.36 PM
root / 996
0644
iterators.cpython-37.opt-1.pyc
1.884 KB
17 Apr 2024 5.36 PM
root / 996
0644
iterators.cpython-37.opt-2.pyc
1.276 KB
17 Apr 2024 5.35 PM
root / 996
0644
iterators.cpython-37.pyc
1.884 KB
17 Apr 2024 5.36 PM
root / 996
0644
message.cpython-37.opt-1.pyc
37.101 KB
17 Apr 2024 5.36 PM
root / 996
0644
message.cpython-37.opt-2.pyc
20.897 KB
17 Apr 2024 5.35 PM
root / 996
0644
message.cpython-37.pyc
37.101 KB
17 Apr 2024 5.36 PM
root / 996
0644
parser.cpython-37.opt-1.pyc
5.609 KB
17 Apr 2024 5.36 PM
root / 996
0644
parser.cpython-37.opt-2.pyc
2.66 KB
17 Apr 2024 5.35 PM
root / 996
0644
parser.cpython-37.pyc
5.609 KB
17 Apr 2024 5.36 PM
root / 996
0644
policy.cpython-37.opt-1.pyc
9.426 KB
17 Apr 2024 5.36 PM
root / 996
0644
policy.cpython-37.opt-2.pyc
3.354 KB
17 Apr 2024 5.35 PM
root / 996
0644
policy.cpython-37.pyc
9.426 KB
17 Apr 2024 5.36 PM
root / 996
0644
quoprimime.cpython-37.opt-1.pyc
7.481 KB
17 Apr 2024 5.36 PM
root / 996
0644
quoprimime.cpython-37.opt-2.pyc
4.086 KB
17 Apr 2024 5.35 PM
root / 996
0644
quoprimime.cpython-37.pyc
7.481 KB
17 Apr 2024 5.36 PM
root / 996
0644
utils.cpython-37.opt-1.pyc
9.242 KB
17 Apr 2024 5.36 PM
root / 996
0644
utils.cpython-37.opt-2.pyc
5.991 KB
17 Apr 2024 5.35 PM
root / 996
0644
utils.cpython-37.pyc
9.242 KB
17 Apr 2024 5.36 PM
root / 996
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF