Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 3.147.73.110
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : parser.cpython-313.pyc
�

*}go���Sr/SQrSSKJrJr SSKJrJr SSKJ	r	 "SS5r
"SS	\
5r"S
S5r"SS
\5r
g)z-A parser of RFC 2822 and MIME email messages.)�Parser�HeaderParser�BytesParser�BytesHeaderParser�
FeedParser�BytesFeedParser�)�StringIO�
TextIOWrapper)rr)�compat32c�:�\rSrSrS\S.SjjrS	SjrS	SjrSrg)
r�N��policyc��XlX lg)aParser 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 preceded 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.

The policy keyword specifies a policy object that controls a number of
aspects of the parser's operation.  The default policy maintains
backward compatibility.

N��_classr)�selfrrs   �3/opt/alt/python313/lib64/python3.13/email/parser.py�__init__�Parser.__init__s��*����c��[URURS9nU(aUR5 UR	S5=n(a+URU5 UR	S5=n(aM+UR
5$)a4Create 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.
ri )rrr�_set_headersonly�read�feed�close)r�fp�headersonly�
feedparser�datas     r�parse�Parser.parse)sj�� ����D�K�K�@�
���'�'�)��g�g�d�m�#�d�#��O�O�D�!��g�g�d�m�#�d�#����!�!rc�4�UR[U5US9$)aCreate 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.
�r)r!r	�r�textrs   r�parsestr�Parser.parsestr8s���z�z�(�4�.�k�z�B�Brr)N�F)	�__name__�
__module__�__qualname__�__firstlineno__rrr!r'�__static_attributes__�rrrrs���h��0
"�Crrc�(�\rSrSrSSjrSSjrSrg)r�Cc�.�[RXS5$�NT)rr!�rrrs   rr!�HeaderParser.parseDs���|�|�D�d�+�+rc�.�[RXS5$r3)rr'r%s   rr'�HeaderParser.parsestrGs�����t�4�0�0rr/N�T)r*r+r,r-r!r'r.r/rrrrCs��,�1rrc�.�\rSrSrSrSSjrSSjrSrg)r�Kc�$�[U0UD6Ulg)axParser 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 preceded 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)r�parser)r�args�kws   rr�BytesParser.__init__Ms�� �d�)�b�)��rc��[USSS9nURRX5UR5 $!UR5 f=f)a;Create 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.
�ascii�surrogateescape)�encoding�errors)r
r<r!�detachr4s   rr!�BytesParser.parse_s=���2��8I�
J��	��;�;�$�$�R�5��I�I�K��B�I�I�K�s	�8�A
c�X�URSSS9nURRX5$)a
Create 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.
�ASCIIrB)rD)�decoder<r'r%s   r�
parsebytes�BytesParser.parsebytesns,���{�{�7�+<�{�=���{�{�#�#�D�6�6r)r<Nr))r*r+r,r-rr!rJr.r/rrrrKs��*�$�	7rrc�(�\rSrSrSSjrSSjrSrg)r�zc�*�[RXSS9$�NTr$)rr!r4s   rr!�BytesHeaderParser.parse{s��� � ��t� �<�<rc�*�[RXSS9$rO)rrJr%s   rrJ�BytesHeaderParser.parsebytes~s���%�%�d�d�%�C�Crr/Nr8)r*r+r,r-r!rJr.r/rrrrzs
��=�DrrN)�__doc__�__all__�ior	r
�email.feedparserrr�email._policybaserrrrrr/rr�<module>rXsN��
4�,��'�8�&�0C�0C�f1�6�1�,7�,7�^D��Dr
© 2025 GrazzMean-Shell