AlkantarClanX12

Your IP : 18.117.192.64


Current Path : /opt/alt/python311/lib64/python3.11/email/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/email/__pycache__/parser.cpython-311.opt-2.pyc

�

c��f����	gd�ZddlmZmZddlmZmZddlmZGd�d��Z	Gd�de	��Z
Gd	�d
��ZGd�de��Zd
S))�Parser�HeaderParser�BytesParser�BytesHeaderParser�
FeedParser�BytesFeedParser�)�StringIO�
TextIOWrapper)rr)�compat32c�,�eZdZded�d�Zdd�Zdd�ZdS)	rN��policyc�$�	||_||_dS�N)�_classr)�selfrrs   �3/opt/alt/python311/lib64/python3.11/email/parser.py�__init__zParser.__init__s��	�(��������Fc���	t|j|j���}|r|���	|�d��}|sn|�|���.|���S)Nr
Ti )rrr�_set_headersonly�read�feed�close)r�fp�headersonly�
feedparser�datas     r�parsezParser.parse)s���	� ���D�K�@�@�@�
��	*��'�'�)�)�)�	"��7�7�4�=�=�D��
���O�O�D�!�!�!�		"�
���!�!�!rc�L�	|�t|��|���S)N�r)rr	�r�textrs   r�parsestrzParser.parsestr;s%��	��z�z�(�4�.�.�k�z�B�B�Brr�F)�__name__�
__module__�__qualname__rrrr$�rrrrsb�������h������0"�"�"�"�$C�C�C�C�C�Crrc��eZdZdd�Zdd�ZdS)rTc�:�t�||d��S�NT)rr�rrrs   rrzHeaderParser.parseGs���|�|�D�"�d�+�+�+rc�:�t�||d��Sr,)rr$r"s   rr$zHeaderParser.parsestrJs�����t�T�4�0�0�0rN�T)r&r'r(rr$r)rrrrFs<������,�,�,�,�1�1�1�1�1�1rrc�$�eZdZd�Zdd�Zdd�ZdS)rc�*�	t|i|��|_dSr)r�parser)r�args�kws   rrzBytesParser.__init__Ps!��	��d�)�b�)�)����rFc��	t|dd���}	|j�||��|���S#|���wxYw)N�ascii�surrogateescape)�encoding�errors)r
r2r�detachr-s   rrzBytesParser.parsebsY��	��2��8I�
J�
J�
J��	��;�$�$�R��5�5��I�I�K�K�K�K��B�I�I�K�K�K�K���s�A�Ac�h�	|�dd���}|j�||��S)N�ASCIIr7)r9)�decoder2r$r"s   r�
parsebyteszBytesParser.parsebytesqs7��	��{�{�7�+<�{�=�=���{�#�#�D�+�6�6�6rNr%)r&r'r(rrr>r)rrrrNsK������*�*�*�$����	7�	7�	7�	7�	7�	7rrc��eZdZdd�Zdd�ZdS)rTc�<�t�||d���S�NTr!)rrr-s   rrzBytesHeaderParser.parse~s��� � ��r�t� �<�<�<rc�<�t�||d���SrA)rr>r"s   rr>zBytesHeaderParser.parsebytes�s���%�%�d�D�d�%�C�C�CrNr/)r&r'r(rr>r)rrrr}sB������=�=�=�=�D�D�D�D�D�DrrN)
�__all__�ior	r
�email.feedparserrr�email._policybaserrrrrr)rr�<module>rGs!��
4�,�,�,��'�&�&�&�&�&�&�&�8�8�8�8�8�8�8�8�&�&�&�&�&�&�3C�3C�3C�3C�3C�3C�3C�3C�l1�1�1�1�1�6�1�1�1�,7�,7�,7�,7�,7�,7�,7�,7�^D�D�D�D�D��D�D�D�D�Dr