$36 GRAYBYTE WORDPRESS FILE MANAGER $70

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python311/lib64/python3.11/email/__pycache__/

HOME
Current File : /opt/alt/python311/lib64/python3.11/email/__pycache__//feedparser.cpython-311.opt-1.pyc
�

���hY��X�dZddgZddlZddlmZddlmZddlmZddl	m
Z
ejd	��Zejd
��Z
ejd��Zejd
��Zejd��Zd
ZdZe��ZGd�de��ZGd�d��ZGd�de��ZdS)aFeedParser - An email feed parser.

The feed parser implements an interface for incrementally parsing an email
message, line by line.  This has advantages for certain applications, such as
those reading email messages off a socket.

FeedParser.feed() is the primary interface for pushing new data into the
parser.  It returns when there's nothing more it can do with the available
data.  When you have no more data to push into the parser, call .close().
This completes the parsing and returns the root message object.

The other advantage of this parser is that it will never raise a parsing
exception.  Instead, when it finds something unexpected, it adds a 'defect' to
the current message.  Defects are just instances that live on the message
object's .defects attribute.
�
FeedParser�BytesFeedParser�N)�errors)�compat32)�deque)�StringIOz
\r\n|\r|\nz(\r\n|\r|\n)z(\r\n|\r|\n)\Zz%^(From |[\041-\071\073-\176]*:|[\t ])��
c�N�eZdZdZd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
dS)
�BufferedSubFileakA file-ish object that can have new data loaded into it.

    You can also push and pop line-matching predicates onto a stack.  When the
    current predicate matches the current line, a false EOF response
    (i.e. empty string) is returned instead.  This lets the parser adhere to a
    simple abstraction -- it parses until EOF closes the current message.
    c�r�td���|_t��|_g|_d|_dS)Nr	)�newlineF)r�_partialr�_lines�	_eofstack�_closed��selfs �7/opt/alt/python311/lib64/python3.11/email/feedparser.py�__init__zBufferedSubFile.__init__4s3��!��,�,�,��
��g�g�����������c�:�|j�|��dS�N)r�append)r�preds  r�push_eof_matcherz BufferedSubFile.push_eof_matcher?s������d�#�#�#�#�#rc�4�|j���Sr)r�poprs r�pop_eof_matcherzBufferedSubFile.pop_eof_matcherBs���~�!�!�#�#�#rc��|j�d��|�|j�����|j�d��|j���d|_dS)NrT)r�seek�	pushlines�	readlines�truncaterrs r�closezBufferedSubFile.closeEsm���
���1�������t�}�.�.�0�0�1�1�1��
���1�����
��� � � �����rc���|js|jrdStS|j���}t	|j��D]*}||��r|j�|��dS�+|S�Nr	)rr�NeedMoreData�popleft�reversedr�
appendleft)r�line�ateofs   r�readlinezBufferedSubFile.readlineMs����{�	 ��|�
��r����{�"�"�$�$���d�n�-�-�	�	�E��u�T�{�{�
���&�&�t�,�,�,��r�r�
��rc�:�|j�|��dSr)rr+�rr,s  r�
unreadlinezBufferedSubFile.unreadline_s ��	
����t�$�$�$�$�$rc���|j�|��d|vrd|vrdS|j�d��|j���}|j�d��|j���|d�d��s,|j�|�����|�|��dS)z$Push some new data into this object.r
�
Nr���)r�writer!r#r$�endswithrr")r�data�partss   r�pushzBufferedSubFile.pushds����
���D�!�!�!��t����D� 0� 0��F�	
�
���1�����
�'�'�)�)���
���1�����
��� � � ��R�y�!�!�$�'�'�	-��M����	�	���,�,�,����u�����rc�:�|j�|��dSr)r�extend)r�liness  rr"zBufferedSubFile.pushlinesys������5�!�!�!�!�!rc��|Sr�rs r�__iter__zBufferedSubFile.__iter__|s���rc�H�|���}|dkrt�|Sr')r.�
StopIterationr0s  r�__next__zBufferedSubFile.__next__s#���}�}�����2�:�:����rN)�__name__�
__module__�__qualname__�__doc__rrrr%r.r1r9r"r?rBr>rrrr,s���������	�	�	�$�$�$�$�$�$�������$%�%�%�
���*"�"�"��������rrc�P�eZdZdZd
ed�d�Zd�Zd�Zd�Zd�Z	d	�Z
d
�Zd�Zd�Z
dS)rzA feed-style parser of email.N��policyc�f�||_d|_|�"|j�ddlm}||_n>|j|_n1||_	||j���n#t$r
d|_YnwxYwt��|_g|_	|�
��j|_d|_
d|_d|_dS)a_factory is called with no arguments to create a new message obj

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

        FNr)�MessagerHT)rI�_old_style_factory�message_factory�
email.messagerK�_factory�	TypeErrorr�_input�	_msgstack�	_parsegenrB�_parse�_cur�_last�_headersonly)rrOrIrKs    rrzFeedParser.__init__�s������"'������%�-�1�1�1�1�1�1� '��
�
� &� 6��
�
�$�D�M�
/�����,�,�,�,�,���
/�
/�
/�*.��'�'�'�
/����&�'�'�������n�n�&�&�/�����	���
�!����s�A
�
A!� A!c��d|_dS)NT)rWrs r�_set_headersonlyzFeedParser._set_headersonly�s�� ����rc�b�|j�|��|���dS)zPush more data into the parser.N)rQr9�_call_parse)rr7s  r�feedzFeedParser.feed�s0�����������������rc�R�	|���dS#t$rYdSwxYwr)rTrArs rr[zFeedParser._call_parse�s:��	��K�K�M�M�M�M�M���	�	�	��D�D�	���s��
&�&c�J�|j���|���|���}|���dkrI|���s5|js.tj��}|j	�
||��|S)z<Parse all remaining data and return the root message object.�	multipart)rQr%r[�_pop_message�get_content_maintype�is_multipartrWr�!MultipartInvariantViolationDefectrI�
handle_defect)r�root�defects   rr%zFeedParser.close�s����������������� � �"�"���$�$�&�&�+�5�5��(�(�*�*�6�37�3D�6��=�?�?�F��K�%�%�d�F�3�3�3��rc��|jr|���}n|�|j���}|jr2|j���dkr|�d��|jr |jd�|��|j�|��||_||_	dS)NrHzmultipart/digestzmessage/rfc822r4)
rLrOrIrU�get_content_type�set_default_typerR�attachrrV)r�msgs  r�_new_messagezFeedParser._new_message�s����"�	4��-�-�/�/�C�C��-�-�t�{�-�3�3�C��9�	3���3�3�5�5�9K�K�K�� � �!1�2�2�2��>�	+��N�2��%�%�c�*�*�*�����c�"�"�"���	���
�
�
rc�z�|j���}|jr|jd|_nd|_|S)Nr4)rRrrU)r�retvals  rr`zFeedParser._pop_message�s;����#�#�%�%���>�	���r�*�D�I�I��D�I��
rc#��K�|���g}|jD]�}|tur
tV��t�|��sit
�|��sMt
j��}|j�	|j
|��|j�|��n|�|����|�
|��|jr�g}	|j���}|tur
tV��-|dkrn|�|���I|j
�t"�|����dS|j
���dkr�	|j�t
j��|���D]}|tur
tV��|���}|j���	|j���}|tur
tV��-		|j���}|tur
tV��-	|dkrn|j�|����dS|j
���dkr@|���D]}|tur
tV��|���dS|j
���dk�r|j
���}|��t
j��}|j�	|j
|��g}|jD]*}|tur
tV��|�|���+|j
�t"�|����dSt7|j
�dd�������dvr3t
j��}|j�	|j
|��d	|z}t?j d
t?j!|��zdz��}	d}
g}d}d}
	|j���}|tur
tV��-|dkr�n�|	�|��}|�r�|�"d
��rd}
|�"d��}�n�|
r�|rv|d}tF�$|��}|r.|dtK|�"d�����|d<t"�|��|j
_&d}
|j�|����	|j���}|tur
tV��-|	�|��}|s|j�|��n�_|j�|	j��|���D]}|tur
tV��|j'���dkru|j'j(}|dkr
d|j'_(n�|�StF�$|��}|r7tK|�"d����}|d|�|j'_(nt|j'j)}tU|t6��rStF�$|��}|r7|dtK|�"d�����}||j'_)|j���|���|j
|_'n|�|����|
r�t
j+��}|j�	|j
|��|j
�t"�|����g}|jD]}|tur
tV���t"�|��|j
_(dS|
s5t
j,��}|j�	|j
|��dS|rdg}ng}|jD]*}|tur
tV��|�|���+|rQ|d}tZ�|��}|r-|tK|�"d����d�|d<t"�|��|j
_(dSg}|jD]*}|tur
tV��|�|���+|j
�t"�|����dS)NTr	zmessage/delivery-status�messager_zcontent-transfer-encoding�8bit)�7bitrq�binaryz--z(?P<sep>z4)(?P<end>--)?(?P<ws>[ \t]*)(?P<linesep>\r\n|\r|\n)?$F�end�linesepr4r).rlrQr(�headerRE�match�NLCREr� MissingHeaderBodySeparatorDefectrIrdrUr1r�_parse_headersrWr.�set_payload�EMPTYSTRING�joinrhrrSr`rra�get_boundary�NoBoundaryInMultipartDefect�str�get�lower�-InvalidMultipartContentTransferEncodingDefect�re�compile�escape�group�	NLCRE_eol�search�len�preamblerV�epilogue�_payload�
isinstance�StartBoundaryNotFoundDefect�CloseBoundaryNotFoundDefect�	NLCRE_bol)r�headersr,rfr<rnrk�boundary�	separator�
boundaryre�capturing_preambler�ru�close_boundary_seen�mo�lastline�eolmor�rt�payload�	firstline�bolmos                      rrSzFeedParser._parsegen�s�	�������������K�
	!�
	!�D��|�#�#�"�"�"�"���>�>�$�'�'�
��{�{�4�(�(�1�#�D�F�F�F��K�-�-�d�i��@�@�@��K�*�*�4�0�0�0����N�N�4� � � � �	
���G�$�$�$���	��E�
#��{�+�+�-�-���<�'�'�&�&�&�&���2�:�:�����T�"�"�"�
#�
�I�!�!�+�"2�"2�5�"9�"9�:�:�:��F��9�%�%�'�'�+D�D�D�
-���,�,�U�[�9�9�9�"�n�n�.�.���F���-�-�*�*�*�*� ���'�'�)�)����+�+�-�-�-�
��;�/�/�1�1�D��|�+�+�*�*�*�*� ����;�/�/�1�1�D��|�+�+�*�*�*�*� ���2�:�:����&�&�t�,�,�,�?
-�@
�F��9�)�)�+�+�y�8�8��.�.�*�*�
�
���\�)�)�&�&�&�&����������F��9�)�)�+�+�{�:�:��y�-�-�/�/�H���
 �;�=�=����)�)�$�)�V�<�<�<��� �K�'�'�D��|�+�+�*�*�*�*� ��L�L��&�&�&�&��	�%�%�k�&6�&6�u�&=�&=�>�>�>����D�I�M�M�"=�v�F�F�G�G�M�M�O�O�5�6�6��M�O�O����)�)�$�)�V�<�<�<�
�x��I����R�Y�y�1�1�1�G�H�I�I�J�"&���H��G�"'��O
*��{�+�+�-�-���<�'�'�&�&�&�&���2�:�:���%�%�d�+�+���G*�
�x�x�����.2�+�"$�(�(�9�"5�"5���)�!�#�L�(0��|�H�$-�$4�$4�X�$>�$>�E�$�O�/7�8M�#�e�k�k�!�n�n�:M�:M�9M�8M�/N����1<�1A�1A�(�1K�1K�D�I�.�-2�*���.�.�t�4�4�4� �
"�#�{�3�3�5�5���<�/�/�".�.�.�.�$�'�-�-�d�3�3��!�"� �K�2�2�4�8�8�8�!�"��K�0�0��1A�B�B�B�"&�.�.�"2�"2����!�\�1�1�".�.�.�.�$��
�z�6�6�8�8�K�G�G�#'�:�#6��#�r�>�>�26�D�J�/�/�%�1�!*�!1�!1�(�!;�!;�B�!�F�&)�"�(�(�1�+�+�&6�&6��6>�u���u�o��
� 3��"&�*�"5��%�g�s�3�3�>�!*�!1�!1�'�!:�!:�B�!�>�*1�2D�C�������4D�4D�3D�2D�*E��6=��
� 3��K�/�/�1�1�1��%�%�'�'�'�"&��D�J�J��O�O�D�)�)�)�_O
*�f"�

��;�=�=����)�)�$�)�V�<�<�<��	�%�%�k�&6�&6�x�&@�&@�A�A�A��� �K�!�!�D��|�+�+�*�*�*�*� �,�&1�%5�%5�h�%?�%?��	�"���'�
��;�=�=����)�)�$�)�V�<�<�<����
��4�������
&�
&���<�'�'�&�&�&�&������%�%�%�%��
B�$�Q�K�	�!���	�2�2���B�"+�C����A���,?�,?�,@�,@�"A�H�Q�K�!,�!1�!1�(�!;�!;�D�I���F����K�	�	�D��|�#�#�"�"�"�"���L�L�������	���k�.�.�u�5�5�6�6�6�6�6rc� �d}g}t|��D�]�\}}|ddvrM|s5tj|��}|j�|j|���G|�|���]|r+|jj|j�|���dg}}|�	d��r�|dkrct�|��}|r+|dt|�
d�����}|j�|����|t|��dz
kr|j�|��dStj|��}|jj�|����p|�d��}|dkr5tjd��}|jj�|�����|d|�}|g}���|r)|jj|j�|���dSdS)Nr	rz 	zFrom ��:zMissing header name.)�	enumerater�#FirstHeaderLineIsContinuationDefectrIrdrUr�set_raw�header_source_parse�
startswithr�r�r�r��set_unixfromrQr1�MisplacedEnvelopeHeaderDefect�defects�find�InvalidHeaderDefect)	rr<�
lastheader�	lastvalue�linenor,rfr��is	         rrzzFeedParser._parse_headers�s-���
��	�%�e�,�,�3	�3	�L�F�D��A�w�%���!��$�G��M�M�F��K�-�-�d�i��@�@�@��� � ��&�&�&���
/�!��	�!�4�;�#B�#B�9�#M�#M�N�N�(*�B�I�
����w�'�'�
��Q�;�;�"�)�)�$�/�/�B��8�#�$6�c�"�(�(�1�+�+�&6�&6�%6�$6�7���I�*�*�4�0�0�0���s�5�z�z�A�~�-�-��K�*�*�4�0�0�0��F�F�$�A�$�G�G�F��I�%�,�,�V�4�4�4���	�	�#���A�
�A�v�v��3�4J�K�K���	�!�(�(��0�0�0���b�q�b��J���I�I��	K��D�I��t�{�>�>�y�I�I�J�J�J�J�	K�	Krr)rCrDrErFrrrYr\r[r%rlr`rSrzr>rrrr�s�������'�'�"��"�"�"�"�"�>!�!�!����
������������{7�{7�{7�z:K�:K�:K�:K�:Krc�"��eZdZdZ�fd�Z�xZS)rz(Like FeedParser, but feed accepts bytes.c�r��t���|�dd����dS)N�ascii�surrogateescape)�superr\�decode)rr7�	__class__s  �rr\zBytesFeedParser.feeds.���
�����T�[�[��*;�<�<�=�=�=�=�=r)rCrDrErFr\�
__classcell__)r�s@rrrs>�������2�2�>�>�>�>�>�>�>�>�>r)rF�__all__r��emailr�email._policybaser�collectionsr�iorr�rxr�r��NLCRE_crackrvr|�NL�objectr(rrrr>rr�<module>r�s{��
��"�*�
+��	�	�	�	�������&�&�&�&�&�&���������������
�=�!�!���B�J��'�'�	��B�J�(�)�)�	��b�j��)�)���2�:�>�?�?����	���v�x�x��W�W�W�W�W�f�W�W�W�tIK�IK�IK�IK�IK�IK�IK�IK�X>�>�>�>�>�j�>�>�>�>�>r


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2026 9.36 AM
root / linksafe
0755
__init__.cpython-311.opt-1.pyc
2.074 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
__init__.cpython-311.opt-2.pyc
1.492 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
__init__.cpython-311.pyc
2.074 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
_encoded_words.cpython-311.opt-1.pyc
8.917 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
_encoded_words.cpython-311.opt-2.pyc
7.088 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
_encoded_words.cpython-311.pyc
8.917 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
_header_value_parser.cpython-311.opt-1.pyc
147.039 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
_header_value_parser.cpython-311.opt-2.pyc
130.877 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
_header_value_parser.cpython-311.pyc
147.123 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
_parseaddr.cpython-311.opt-1.pyc
23.744 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
_parseaddr.cpython-311.opt-2.pyc
20.958 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
_parseaddr.cpython-311.pyc
23.744 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
_policybase.cpython-311.opt-1.pyc
19.253 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
_policybase.cpython-311.opt-2.pyc
10.32 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
_policybase.cpython-311.pyc
19.253 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
base64mime.cpython-311.opt-1.pyc
4.263 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
base64mime.cpython-311.opt-2.pyc
2.553 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
base64mime.cpython-311.pyc
4.263 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
charset.cpython-311.opt-1.pyc
15.6 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
charset.cpython-311.opt-2.pyc
9.476 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
charset.cpython-311.pyc
15.659 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
contentmanager.cpython-311.opt-1.pyc
13.52 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
contentmanager.cpython-311.opt-2.pyc
13.52 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
contentmanager.cpython-311.pyc
13.52 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
encoders.cpython-311.opt-1.pyc
2.344 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
encoders.cpython-311.opt-2.pyc
2.022 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
encoders.cpython-311.pyc
2.344 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
errors.cpython-311.opt-1.pyc
8.475 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
errors.cpython-311.opt-2.pyc
6.917 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
errors.cpython-311.pyc
8.475 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
feedparser.cpython-311.opt-1.pyc
20.808 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
feedparser.cpython-311.opt-2.pyc
19.205 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
feedparser.cpython-311.pyc
21.003 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
generator.cpython-311.opt-1.pyc
21.892 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
generator.cpython-311.opt-2.pyc
18.303 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
generator.cpython-311.pyc
21.892 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
header.cpython-311.opt-1.pyc
26.357 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
header.cpython-311.opt-2.pyc
20.911 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
header.cpython-311.pyc
26.357 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
headerregistry.cpython-311.opt-1.pyc
32.91 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
headerregistry.cpython-311.opt-2.pyc
27.447 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
headerregistry.cpython-311.pyc
32.975 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
iterators.cpython-311.opt-1.pyc
3.103 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
iterators.cpython-311.opt-2.pyc
2.523 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
iterators.cpython-311.pyc
3.103 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
message.cpython-311.opt-1.pyc
57.668 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
message.cpython-311.opt-2.pyc
41.763 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
message.cpython-311.pyc
57.668 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
parser.cpython-311.opt-1.pyc
7.225 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
parser.cpython-311.opt-2.pyc
4.322 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
parser.cpython-311.pyc
7.225 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
policy.cpython-311.opt-1.pyc
12.262 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
policy.cpython-311.opt-2.pyc
6.231 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
policy.cpython-311.pyc
12.262 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
quoprimime.cpython-311.opt-1.pyc
10.987 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
quoprimime.cpython-311.opt-2.pyc
7.655 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
quoprimime.cpython-311.pyc
10.987 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
utils.cpython-311.opt-1.pyc
18.872 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
utils.cpython-311.opt-2.pyc
15.414 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
utils.cpython-311.pyc
18.872 KB
7 Jan 2026 10.45 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF