SILENT KILLERPanel

Current Path: > > opt > alt > python35 > lib64 > python3.5 > > email > __pycache__


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python35/lib64/python3.5//email/__pycache__

NameTypeSizeLast ModifiedActions
__init__.cpython-35.opt-1.pyc File 1761 bytes May 31 2024 13:51:46.
__init__.cpython-35.opt-2.pyc File 1144 bytes May 31 2024 13:51:29.
__init__.cpython-35.pyc File 1761 bytes May 31 2024 13:51:51.
_encoded_words.cpython-35.opt-1.pyc File 6046 bytes May 31 2024 13:51:47.
_encoded_words.cpython-35.opt-2.pyc File 4152 bytes May 31 2024 13:51:29.
_encoded_words.cpython-35.pyc File 6046 bytes May 31 2024 13:51:51.
_header_value_parser.cpython-35.opt-1.pyc File 87306 bytes May 31 2024 13:51:46.
_header_value_parser.cpython-35.opt-2.pyc File 71783 bytes May 31 2024 13:51:29.
_header_value_parser.cpython-35.pyc File 87364 bytes May 31 2024 13:51:51.
_parseaddr.cpython-35.opt-1.pyc File 13803 bytes May 31 2024 13:51:46.
_parseaddr.cpython-35.opt-2.pyc File 10831 bytes May 31 2024 13:51:29.
_parseaddr.cpython-35.pyc File 13803 bytes May 31 2024 13:51:51.
_policybase.cpython-35.opt-1.pyc File 15190 bytes May 31 2024 13:51:46.
_policybase.cpython-35.opt-2.pyc File 6478 bytes May 31 2024 13:51:29.
_policybase.cpython-35.pyc File 15190 bytes May 31 2024 13:51:51.
base64mime.cpython-35.opt-1.pyc File 3369 bytes May 31 2024 13:51:46.
base64mime.cpython-35.opt-2.pyc File 1584 bytes May 31 2024 13:51:29.
base64mime.cpython-35.pyc File 3369 bytes May 31 2024 13:51:51.
charset.cpython-35.opt-1.pyc File 12012 bytes May 31 2024 13:51:46.
charset.cpython-35.opt-2.pyc File 5669 bytes May 31 2024 13:51:29.
charset.cpython-35.pyc File 12056 bytes May 31 2024 13:51:51.
contentmanager.cpython-35.opt-1.pyc File 8098 bytes May 31 2024 13:51:47.
contentmanager.cpython-35.opt-2.pyc File 8092 bytes May 31 2024 13:51:29.
contentmanager.cpython-35.pyc File 8098 bytes May 31 2024 13:51:51.
encoders.cpython-35.opt-1.pyc File 1744 bytes May 31 2024 13:51:46.
encoders.cpython-35.opt-2.pyc File 1385 bytes May 31 2024 13:51:29.
encoders.cpython-35.pyc File 1744 bytes May 31 2024 13:51:51.
errors.cpython-35.opt-1.pyc File 6275 bytes May 31 2024 13:51:46.
errors.cpython-35.opt-2.pyc File 4740 bytes May 31 2024 13:51:29.
errors.cpython-35.pyc File 6275 bytes May 31 2024 13:51:51.
feedparser.cpython-35.opt-1.pyc File 11448 bytes May 31 2024 13:51:46.
feedparser.cpython-35.opt-2.pyc File 9769 bytes May 31 2024 13:51:29.
feedparser.cpython-35.pyc File 11620 bytes May 31 2024 13:51:51.
generator.cpython-35.opt-1.pyc File 13493 bytes May 31 2024 13:51:46.
generator.cpython-35.opt-2.pyc File 9783 bytes May 31 2024 13:51:29.
generator.cpython-35.pyc File 13493 bytes May 31 2024 13:51:51.
header.cpython-35.opt-1.pyc File 17683 bytes May 31 2024 13:51:46.
header.cpython-35.opt-2.pyc File 12051 bytes May 31 2024 13:51:29.
header.cpython-35.pyc File 17683 bytes May 31 2024 13:51:51.
headerregistry.cpython-35.opt-1.pyc File 22556 bytes May 31 2024 13:51:47.
headerregistry.cpython-35.opt-2.pyc File 16771 bytes May 31 2024 13:51:29.
headerregistry.cpython-35.pyc File 22617 bytes May 31 2024 13:51:51.
iterators.cpython-35.opt-1.pyc File 2028 bytes May 31 2024 13:51:46.
iterators.cpython-35.opt-2.pyc File 1398 bytes May 31 2024 13:51:29.
iterators.cpython-35.pyc File 2028 bytes May 31 2024 13:51:51.
message.cpython-35.opt-1.pyc File 39240 bytes May 31 2024 13:51:47.
message.cpython-35.opt-2.pyc File 23182 bytes May 31 2024 13:51:29.
message.cpython-35.pyc File 39240 bytes May 31 2024 13:51:51.
parser.cpython-35.opt-1.pyc File 5910 bytes May 31 2024 13:51:46.
parser.cpython-35.opt-2.pyc File 2882 bytes May 31 2024 13:51:29.
parser.cpython-35.pyc File 5910 bytes May 31 2024 13:51:51.
policy.cpython-35.opt-1.pyc File 9852 bytes May 31 2024 13:51:46.
policy.cpython-35.opt-2.pyc File 3625 bytes May 31 2024 13:51:29.
policy.cpython-35.pyc File 9852 bytes May 31 2024 13:51:51.
quoprimime.cpython-35.opt-1.pyc File 8109 bytes May 31 2024 13:51:46.
quoprimime.cpython-35.opt-2.pyc File 4624 bytes May 31 2024 13:51:29.
quoprimime.cpython-35.pyc File 8109 bytes May 31 2024 13:51:51.
utils.cpython-35.opt-1.pyc File 10458 bytes May 31 2024 13:51:46.
utils.cpython-35.opt-2.pyc File 7320 bytes May 31 2024 13:51:29.
utils.cpython-35.pyc File 10458 bytes May 31 2024 13:51:51.

Reading File: //opt/alt/python35/lib64/python3.5//email/__pycache__/charset.cpython-35.pyc



��Yf�B�0@s�ddddgZddlmZddlZddlZddlmZddlmZd	Z	d
Z
dZdZd
Z
dZdZde	e	dfde	e	dfde	e	dfde	e	dfde	e	dfde	e	dfde	e	dfde	e	dfde	e	dfde	e	dfde	e	dfde	e	dfd
dEde
e
dfde
e
dfde
ddfd e
ddfde
ddfd!e
e
dfd"ee
d"fiZd#dd$dd%dd&dd'dd(dd)dd*dd+dd,dd-dd.dd/dd0dd1dd2dd3dd4dd5dd6dd7d8d9dd:d;d<d
iZdd=dd>d
diZdddd?d�Zd@d�ZdAd�ZdBdC�ZGdDd�d�ZdS)F�Charset�	add_alias�add_charset�	add_codec�)�partialN)�errors)�encode_7or8bit����zus-asciizunknown-8bit�z
iso-8859-1z
iso-8859-2z
iso-8859-3z
iso-8859-4z
iso-8859-9ziso-8859-10ziso-8859-13ziso-8859-14ziso-8859-15ziso-8859-16zwindows-1252Zviscii�big5�gb2312zeuc-jpziso-2022-jp�	shift_jiszkoi8-rzutf-8�latin_1zlatin-1Zlatin_2zlatin-2Zlatin_3zlatin-3Zlatin_4zlatin-4Zlatin_5zlatin-5Zlatin_6zlatin-6Zlatin_7zlatin-7Zlatin_8zlatin-8Zlatin_9zlatin-9Zlatin_10zlatin-10�cp949zks_c_5601-1987�euc_jp�euc_krzeuc-kr�ascii�eucgb2312_cn�big5_twcCs/|tkrtd��|||ft|<dS)a>Add character set properties to the global registry.

    charset is the input character set, and must be the canonical name of a
    character set.

    Optional header_enc and body_enc is either Charset.QP for
    quoted-printable, Charset.BASE64 for base64 encoding, Charset.SHORTEST for
    the shortest of qp or base64 encoding, or None for no encoding.  SHORTEST
    is only valid for header_enc.  It describes how message headers and
    message bodies in the input charset are to be encoded.  Default is no
    encoding.

    Optional output_charset is the character set that the output should be
    in.  Conversions will proceed from input charset, to Unicode, to the
    output charset when the method Charset.convert() is called.  The default
    is to output in the same character set as the input.

    Both input_charset and output_charset must have Unicode codec entries in
    the module's charset-to-codec mapping; use add_codec(charset, codecname)
    to add codecs the module does not know about.  See the codecs module's
    documentation for more information.
    z!SHORTEST not allowed for body_encN)�SHORTEST�
ValueError�CHARSETS)�charsetZ
header_encZbody_enc�output_charset�r�2/opt/alt/python35/lib64/python3.5/email/charset.pyrmscCs|t|<dS)z�Add a character set alias.

    alias is the alias name, e.g. latin-1
    canonical is the character set's canonical name, e.g. iso-8859-1
    N)�ALIASES)�aliasZ	canonicalrrrr�scCs|t|<dS)a$Add a codec that map characters in the given charset to/from Unicode.

    charset is the canonical name of a character set.  codecname is the name
    of a Python codec, as appropriate for the second argument to the unicode()
    built-in, or to the encode() method of a Unicode string.
    N)�	CODEC_MAP)rZ	codecnamerrrr�scCs-|tkr|jdd�S|j|�SdS)Nr�surrogateescape)�UNKNOWN8BIT�encode)�string�codecrrr�_encode�sr'c@s�eZdZdZedd�Zdd�ZeZdd�Zdd	�Z	d
d�Z
dd
�Zdd�Zdd�Z
dd�ZdS)ra@	Map character sets to their email properties.

    This class provides information about the requirements imposed on email
    for a specific character set.  It also provides convenience routines for
    converting between character sets, given the availability of the
    applicable codecs.  Given a character set, it will do its best to provide
    information on how to use that character set in an email in an
    RFC-compliant way.

    Certain character sets must be encoded with quoted-printable or base64
    when used in email headers or bodies.  Certain character sets must be
    converted outright, and are not allowed in email.  Instances of this
    module expose the following information about a character set:

    input_charset: The initial character set specified.  Common aliases
                   are converted to their `official' email names (e.g. latin_1
                   is converted to iso-8859-1).  Defaults to 7-bit us-ascii.

    header_encoding: If the character set must be encoded before it can be
                     used in an email header, this attribute will be set to
                     Charset.QP (for quoted-printable), Charset.BASE64 (for
                     base64 encoding), or Charset.SHORTEST for the shortest of
                     QP or BASE64 encoding.  Otherwise, it will be None.

    body_encoding: Same as header_encoding, but describes the encoding for the
                   mail message's body, which indeed may be different than the
                   header encoding.  Charset.SHORTEST is not allowed for
                   body_encoding.

    output_charset: Some character sets must be converted before they can be
                    used in email headers or bodies.  If the input_charset is
                    one of them, this attribute will contain the name of the
                    charset output will be converted to.  Otherwise, it will
                    be None.

    input_codec: The name of the Python codec used to convert the
                 input_charset to Unicode.  If no conversion codec is
                 necessary, this attribute will be None.

    output_codec: The name of the Python codec used to convert Unicode
                  to the output_charset.  If no conversion codec is necessary,
                  this attribute will have the same value as the input_codec.
    c
Csy2t|t�r"|jd�nt|d�}Wn!tk
rUtj|��YnX|j�}tj||�|_	t
j|j	ttdf�\}}}|s�|j	}||_
||_tj||�|_tj|j	|j	�|_tj|j|j�|_dS)Nr)�
isinstance�strr$�UnicodeErrorrZCharsetError�lowerr�get�
input_charsetrr�BASE64�header_encoding�
body_encodingrr!Zinput_codec�output_codec)�selfr-ZhencZbencZconvrrr�__init__�s&
			zCharset.__init__cCs
|jj�S)N)r-r+)r2rrr�__str__�szCharset.__str__cCst|�t|�j�kS)N)r)r+)r2�otherrrr�__eq__�szCharset.__eq__cCsC|jtkst�|jtkr(dS|jtkr;dStSdS)aPReturn the content-transfer-encoding used for body encoding.

        This is either the string `quoted-printable' or `base64' depending on
        the encoding used, or it is a function in which case you should call
        the function with a single argument, the Message object being
        encoded.  The function should then set the Content-Transfer-Encoding
        header itself to whatever is appropriate.

        Returns "quoted-printable" if self.body_encoding is QP.
        Returns "base64" if self.body_encoding is BASE64.
        Returns conversion function otherwise.
        zquoted-printable�base64N)r0r�AssertionError�QPr.r)r2rrr�get_body_encoding�s
zCharset.get_body_encodingcCs|jp|jS)z�Return the output character set.

        This is self.output_charset if that is not None, otherwise it is
        self.input_charset.
        )rr-)r2rrr�get_output_charsetszCharset.get_output_charsetcCsM|jpd}t||�}|j|�}|dkr=|S|j||�S)a�Header-encode a string by converting it first to bytes.

        The type of encoding (base64 or quoted-printable) will be based on
        this charset's `header_encoding`.

        :param string: A unicode string for the header.  It must be possible
            to encode this string to bytes using the character set's
            output codec.
        :return: The encoded string, with RFC 2047 chrome.
        zus-asciiN)r1r'�_get_encoder�
header_encode)r2r%r&�header_bytes�encoder_modulerrrr=szCharset.header_encodecCs�|jpd}t||�}|j|�}t|jd|�}|j�}t|�t}g}	g}
t|�|}x�|D]�}|
j	|�t
j|
�}
|jt|
|��}||kr�|
j
�|	r�|
r�|	j	d�nC|	r�dnd}t
j|
�}t||�}|	j	||��|g}
t|�|}q�Wt
j|
�}t||�}|	j	||��|	S)afHeader-encode a string by converting it first to bytes.

        This is similar to `header_encode()` except that the string is fit
        into maximum line lengths as given by the argument.

        :param string: A unicode string for the header.  It must be possible
            to encode this string to bytes using the character set's
            output codec.
        :param maxlengths: Maximum line length iterator.  Each element
            returned from this iterator will provide the next maximum line
            length.  This parameter is used as an argument to built-in next()
            and should never be exhausted.  The maximum line lengths should
            not count the RFC 2047 chrome.  These line lengths are only a
            hint; the splitter does the best it can.
        :return: Lines of encoded strings, each with RFC 2047 chrome.
        zus-asciirN� r
)r1r'r<rr=r;�len�RFC2047_CHROME_LEN�next�append�EMPTYSTRING�join�
header_length�pop)r2r%Z
maxlengthsr&r>r?�encoderrZextra�linesZcurrent_line�maxlen�	characterZ	this_lineZlengthZ	separatorZjoined_linerrr�header_encode_lines,s6


	zCharset.header_encode_linescCs�|jtkrtjS|jtkr,tjS|jtkr|tjj|�}tjj|�}||krrtjStjSndSdS)N)r/r.�email�
base64mimer9�
quoprimimerrG)r2r>Zlen64Zlenqprrrr<js
zCharset._get_encodercCs�|s
|S|jtkrJt|t�r:|j|j�}tjj|�S|jt	kr�t|t�rz|j|j�}|j
d�}tjj|�St|t�r�|j|j�j
d�}|SdS)avBody-encode a string by converting it first to bytes.

        The type of encoding (base64 or quoted-printable) will be based on
        self.body_encoding.  If body_encoding is None, we assume the
        output charset is a 7bit encoding, so re-encoding the decoded
        string using the ascii codec produces the correct string version
        of the content.
        �latin1rN)r0r.r(r)r$rrNrO�body_encoder9�decoderP)r2r%rrrrRys	zCharset.body_encodeN)�__name__�
__module__�__qualname__�__doc__�DEFAULT_CHARSETr3r4�__repr__r6r:r;r=rMr<rRrrrrr�s+!>)NNN)�__all__�	functoolsrZemail.base64mimerNZemail.quoprimimerZemail.encodersrr9r.rrBrXr#rErrr!rrrr'rrrrr�<module>s�		


SILENT KILLER Tool