AlkantarClanX12

Your IP : 18.188.219.131


Current Path : /opt/alt/python312/lib64/python3.12/email/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/email/__pycache__/parser.cpython-312.opt-2.pyc

�

�Q�fo���	gd�ZddlmZmZddlmZmZddlmZGd�d�Z	Gd�de	�Z
Gd	�d
�ZGd�de�Zy
))�Parser�HeaderParser�BytesParser�BytesHeaderParser�
FeedParser�BytesFeedParser�)�StringIO�
TextIOWrapper)rr)�compat32c�*�eZdZded�d�Zdd�Zdd�Zy)rN��policyc�"�	||_||_y�N)�_classr)�selfrrs   �3/opt/alt/python312/lib64/python3.12/email/parser.py�__init__zParser.__init__s��	�(������c��	t|j|j��}|r|j�|j	d�x}r%|j|�|j	d�x}r�%|j
�S)Nr
i )rrr�_set_headersonly�read�feed�close)r�fp�headersonly�
feedparser�datas     r�parsezParser.parse)so��	� ����D�K�K�@�
���'�'�)��g�g�d�m�#�d�#��O�O�D�!��g�g�d�m�#�d�#����!�!rc�<�	|jt|�|��S)N�r)rr	�r�textrs   r�parsestrzParser.parsestr8s ��	��z�z�(�4�.�k�z�B�Brr�F)�__name__�
__module__�__qualname__rrrr$�rrrrs���h��0
"�Crrc��eZdZdd�Zdd�Zy)rc�0�tj||d�S�NT)rr�rrrs   rrzHeaderParser.parseDs���|�|�D�"�d�+�+rc�0�tj||d�Sr,)rr$r"s   rr$zHeaderParser.parsestrGs�����t�T�4�0�0rN�T)r&r'r(rr$r)rrrrCs��,�1rrc�"�eZdZd�Zdd�Zdd�Zy)rc�&�	t|i|��|_yr)r�parser)r�args�kws   rrzBytesParser.__init__Ms��	��d�)�b�)��rc��	t|dd��}	|jj||�|j�S#|j�wxYw)N�ascii�surrogateescape)�encoding�errors)r
r2r�detachr-s   rrzBytesParser.parse_sD��	��2��8I�
J��	��;�;�$�$�R��5��I�I�K��B�I�I�K�s	�=�Ac�b�	|jdd��}|jj||�S)N�ASCIIr7)r9)�decoder2r$r"s   r�
parsebyteszBytesParser.parsebytesns3��	��{�{�7�+<�{�=���{�{�#�#�D�+�6�6rNr%)r&r'r(rrr>r)rrrrKs��*�$�	7rrc��eZdZdd�Zdd�Zy)rc�2�tj||d��S�NTr!)rrr-s   rrzBytesHeaderParser.parse{s��� � ��r�t� �<�<rc�2�tj||d��SrA)rr>r"s   rr>zBytesHeaderParser.parsebytes~s���%�%�d�D�d�%�C�CrNr/)r&r'r(rr>r)rrrrzs
��=�DrrN)
�__all__�ior	r
�email.feedparserrr�email._policybaserrrrrr)rr�<module>rGsN��
4�,��'�8�&�0C�0C�f1�6�1�,7�,7�^D��Dr