Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.118.55.243
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : parser.cpython-32.pyc
l
��bc@s�dZdddgZddlZddlmZmZddlmZmZddl	m
Z
Gd	�d�ZGd
�de�ZGd�d�Z
dS(u-A parser of RFC 2822 and MIME email messages.uParseruHeaderParseruBytesParseriN(uStringIOu
TextIOWrapper(u
FeedParseruBytesFeedParser(uMessagecBs/|EeZd�Zdd�Zdd�ZdS(cOst|�dkr>d|kr-td��n|d|d<nt|�dkr|d|krktd��n|d|d<nt|�dkr�td��nd|kr�|d|_|d=n	t|_d|kr�tjd	td�|d=n|rtd
��ndS(u�Parser of RFC 2822 and MIME email messages.

        Creates an in-memory object tree representing the email message, which
        can then be manipulated and turned over to a Generator to return the
        textual representation of the message.

        The string must be formatted as a block of RFC 2822 headers and header
        continuation lines, optionally preceeded by a `Unix-from' header.  The
        header block is terminated either by the end of the string or by a
        blank line.

        _class is the class to instantiate for new message objects when they
        must be created.  This class must have a constructor that can take
        zero arguments.  Default is Message.Message.
        iu_classu(Multiple values for keyword arg '_class'iiustrictu(Multiple values for keyword arg 'strict'uToo many argumentsu-'strict' argument is deprecated (and ignored)uUnexpected keyword argumentsN(ulenu	TypeErroru_classuMessageuwarningsuwarnuDeprecationWarning(uselfuargsukws((u3/usr/local/python-3.2/lib/python3.2/email/parser.pyu__init__s(

		

cCsXt|j�}|r"|j�nx)|jd�}|s>Pn|j|�q%|j�S(u\Create a message structure from the data in a file.

        Reads all the data from the file and returns the root of the message
        structure.  Optional headersonly is a flag specifying whether to stop
        parsing after reading the headers or not.  The default is False,
        meaning it parses the entire contents of the file.
        i (u
FeedParseru_classu_set_headersonlyureadufeeduclose(uselfufpuheadersonlyu
feedparserudata((u3/usr/local/python-3.2/lib/python3.2/email/parser.pyuparse8s
cCs|jt|�d|�S(u-Create a message structure from a string.

        Returns the root of the message structure.  Optional headersonly is a
        flag specifying whether to stop parsing after reading the headers or
        not.  The default is False, meaning it parses the entire contents of
        the file.
        uheadersonly(uparseuStringIO(uselfutextuheadersonly((u3/usr/local/python-3.2/lib/python3.2/email/parser.pyuparsestrJsNF(u__name__u
__module__u__init__uFalseuparseuparsestr(u
__locals__((u3/usr/local/python-3.2/lib/python3.2/email/parser.pyuParsers
	&cBs&|EeZdd�Zdd�ZdS(cCstj||d�S(NT(uParseruparseuTrue(uselfufpuheadersonly((u3/usr/local/python-3.2/lib/python3.2/email/parser.pyuparseWscCstj||d�S(NT(uParseruparsestruTrue(uselfutextuheadersonly((u3/usr/local/python-3.2/lib/python3.2/email/parser.pyuparsestrZsNT(u__name__u
__module__uTrueuparseuparsestr(u
__locals__((u3/usr/local/python-3.2/lib/python3.2/email/parser.pyuHeaderParserVs
cBs/|EeZd�Zdd�Zdd�ZdS(cOst||�|_dS(u�Parser of binary RFC 2822 and MIME email messages.

        Creates an in-memory object tree representing the email message, which
        can then be manipulated and turned over to a Generator to return the
        textual representation of the message.

        The input must be formatted as a block of RFC 2822 headers and header
        continuation lines, optionally preceeded by a `Unix-from' header.  The
        header block is terminated either by the end of the input or by a
        blank line.

        _class is the class to instantiate for new message objects when they
        must be created.  This class must have a constructor that can take
        zero arguments.  Default is Message.Message.
        N(uParseruparser(uselfuargsukw((u3/usr/local/python-3.2/lib/python3.2/email/parser.pyu__init__`sc
Cs<t|dddd�}|�|jj||�SWdQXdS(ucCreate a message structure from the data in a binary file.

        Reads all the data from the file and returns the root of the message
        structure.  Optional headersonly is a flag specifying whether to stop
        parsing after reading the headers or not.  The default is False,
        meaning it parses the entire contents of the file.
        uencodinguasciiuerrorsusurrogateescapeN(u
TextIOWrapperuparseruparse(uselfufpuheadersonly((u3/usr/local/python-3.2/lib/python3.2/email/parser.pyuparserscCs(|jddd�}|jj||�S(u2Create a message structure from a byte string.

        Returns the root of the message structure.  Optional headersonly is a
        flag specifying whether to stop parsing after reading the headers or
        not.  The default is False, meaning it parses the entire contents of
        the file.
        uASCIIuerrorsusurrogateescape(udecodeuparseruparsestr(uselfutextuheadersonly((u3/usr/local/python-3.2/lib/python3.2/email/parser.pyu
parsebytessNF(u__name__u
__module__u__init__uFalseuparseu
parsebytes(u
__locals__((u3/usr/local/python-3.2/lib/python3.2/email/parser.pyuBytesParser^s
	
(u__doc__u__all__uwarningsuiouStringIOu
TextIOWrapperuemail.feedparseru
FeedParseruBytesFeedParseru
email.messageuMessageuParseruHeaderParseruBytesParser(((u3/usr/local/python-3.2/lib/python3.2/email/parser.pyu<module>sE
© 2025 GrazzMean