$50 GRAYBYTE WORDPRESS FILE MANAGER $78

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

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

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

�0�i]!��4�dZddlZddlZddlZddlZddlmZmZddlm	Z	gd�Z
ejejd��j
d���Zd�ZGd	�d
e��Ze��Zdeed��<d
�Zd�Zd�Zd�Zd�Zeed�Zd�Zeed�Zeed�Zdd�ZdS)z� Routines for manipulating RFC2047 encoded words.

This is currently a package-private API, but will be considered for promotion
to a public API if there is demand.

�N)�
ascii_letters�digits)�errors)�decode_q�encode_q�decode_b�encode_b�len_q�len_b�decode�encodes=([a-fA-F0-9]{2})c��t�|�d�������S)N�)�bytes�fromhex�groupr)�ms �;/opt/alt/python311/lib64/python3.11/email/_encoded_words.py�<lambda>rAs(��%�-�-�����
�
� 1� 1� 3� 3�4�4��c�P�|�dd��}t|��gfS)N�_� )�replace�_q_byte_subber)�encodeds rrrCs(���o�o�d�D�)�)�G��'�"�"�B�&�&rc�\�eZdZdejd��zejd��zZd�ZdS)�	_QByteMaps-!*+/�asciic�z�||jvrt|��||<nd�|��||<||S)Nz={:02X})�safe�chr�format)�self�keys  r�__missing__z_QByteMap.__missing__MsA���$�)����C���D��I�I�!�(�(��-�-�D��I��C�y�rN)�__name__�
__module__�__qualname__rr
rr!r&�rrrrIsL�������*�m�*�7�3�3�3�m�f�m�G�6L�6L�L�D�����rr�_� c�@�d�d�|D����S)N�c3�0K�|]}t|V��dS�N)�_q_byte_map��.0�xs  r�	<genexpr>zencode_q.<locals>.<genexpr>Zs&����3�3�a�;�q�>�3�3�3�3�3�3r)�join��bstrings rrrYs#��
�7�7�3�3�7�3�3�3�3�3�3rc�4�td�|D����S)Nc3�JK�|]}tt|��V��dSr0)�lenr1r2s  rr5zlen_q.<locals>.<genexpr>]s.����4�4�q�s�;�q�>�"�"�4�4�4�4�4�4r)�sumr7s rr
r
\s���4�4�G�4�4�4�4�4�4rc�8�t|��dz}|r
ddd|z
�nd}	tj||zd���|rtj��gngfS#t
j$r�	tj|d���tj��gfcYS#t
j$rt	tj|dzd���tj��tj��gfcYcYS#t
j$r|tj��gfcYcYcYSwxYwwxYwwxYw)N�s===rT)�validateFs==)	r;�base64�	b64decoder�InvalidBase64PaddingDefect�binascii�Error�InvalidBase64CharactersDefect�InvalidBase64LengthDefect)r�pad_err�missing_paddings   rrrds����'�l�l�Q��G�,3�<�f�Z�a��i�Z�(�(��O�E���W��6��F�F�F�5<�D�V�
.�
0�
0�1�1�"�
�	
���>�E�E�E�	E�� ��5�9�9�9��5�7�7�8��
�
�
���~�	E�	E�	E�
E��$�W�u�_�u�E�E�E��9�;�;��6�8�8�:��������
�>�
E�
E�
E���!A�!C�!C� D�D�D�D�D�D�D�D�D�

E����	E����E���sS�0A�D�&)B�D�D�">C%� D�!D�%%D�
D�D�D�D�Dc�P�tj|���d��S)Nr)r@�	b64encoderr7s rr	r	�s!����G�$�$�+�+�G�4�4�4rc�Z�tt|��d��\}}|dz|rdndzS)N�r>r)�divmodr;)r8�groups_of_3�leftovers   rrr�s4��"�3�w�<�<��3�3��K����?�8�2�a�a��3�3r)�q�bc��|�d��\}}}}}|�d��\}}}|���}|�dd��}t	||��\}}	|�|��}n�#t$rD|�tj	d|�d�����|�|d��}Ynottf$r\|�dd��}|���dkr+|�tjd|�d	�����YnwxYw||||fS)
a�Decode encoded word and return (string, charset, lang, defects) tuple.

    An RFC 2047/2243 encoded word has the form:

        =?charset*lang?cte?encoded_string?=

    where '*lang' may be omitted but the other parts may not be.

    This function expects exactly such a string (that is, it does not check the
    syntax and may raise errors if the string is not well formed), and returns
    the encoded_string decoded first from its Content Transfer Encoding and
    then from the resulting bytes into unicode using the specified charset.  If
    the cte-decoded string does not successfully decode using the specified
    character set, a defect is added to the defects list and the unknown octets
    are replaced by the unicode 'unknown' character \uFDFF.

    The specified charset and language are returned.  The default for language,
    which is rarely if ever encountered, is the empty string.

    �?�*r�surrogateescapez0Encoded word contains bytes not decodable using z charset�unknown-8bitzUnknown charset z* in encoded word; decoded as unknown bytes)
�split�	partition�lowerr
�
_cte_decodersr�UnicodeDecodeError�appendr�UndecodableBytesDefect�LookupError�UnicodeEncodeError�CharsetError)	�ewr+�charset�cte�
cte_string�langr8�defects�strings	         rrr�s���*&(�X�X�c�]�]�"�A�w��Z���(�(��-�-��G�Q��

�)�)�+�+�C�����):�;�;�G�$�S�)�'�2�2��G�W�
?�����(�(�����<�<�<����v�4�6F�29�6F�6F�6F�G�G�	H�	H�	H�����):�;�;�����+�,�?�?�?�����):�;�;���=�=�?�?�n�,�,��N�N�6�.�0=�'�0=�0=�0=�>�>�
?�
?�
?���?����
�7�D�'�)�)s�8B�AE�A)E�E�utf-8r.c�@�|dkr|�dd��}n|�|��}|�7td|��}td|��}||z
dkrdnd}t||��}|rd|z}d	�||||��S)
aEncode string using the CTE encoding that produces the shorter result.

    Produces an RFC 2047/2243 encoded word of the form:

        =?charset*lang?cte?encoded_string?=

    where '*lang' is omitted unless the 'lang' parameter is given a value.
    Optional argument charset (defaults to utf-8) specifies the charset to use
    to encode the string to binary before CTE encoding it.  Optional argument
    'encoding' is the cte specifier for the encoding that should be used ('q'
    or 'b'); if it is None (the default) the encoding which produces the
    shortest encoded sequence is used, except that 'q' is preferred if it is up
    to five characters longer.  Optional argument 'lang' (default '') gives the
    RFC 2243 language string to specify in the encoded word.

    rVrrUNrPrQ�rTz=?{}{}?{}?{}?=)r
�_cte_encode_length�
_cte_encodersr#)rgrb�encodingrer8�qlen�blenrs        rr
r
�s���"�.� � ��-�-��):�;�;����-�-��(�(����!�#�&�w�/�/��!�#�&�w�/�/����+��/�/�3�3�s���H�%�g�.�.�G����T�z���"�"�7�D�(�G�D�D�Dr)rhNr.)�__doc__�rer@rC�	functoolsrgrr�emailr�__all__�partial�compile�subrr�dictrr1�ordrr
rr	rrZrrlrkr
r*rr�<module>rzs�����R
�	�	�	�
�
�
�
���������(�(�(�(�(�(�(�(�������
�
�
��#��"�:�2�:�.C�#D�#D�#H�4�4�6�6��'�'�'�	�	�	�	�	��	�	�	��i�k�k����C�C��H�H��4�4�4�5�5�5�$E�$E�$E�L5�5�5�4�4�4�
�	���
�
'*�'*�'*�V
�	���
�
�	����
E�E�E�E�E�Er

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
4 May 2026 11.11 PM
root / linksafe
0755
__init__.cpython-311.opt-1.pyc
2.074 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
__init__.cpython-311.opt-2.pyc
1.492 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
__init__.cpython-311.pyc
2.074 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
_encoded_words.cpython-311.opt-1.pyc
8.917 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
_encoded_words.cpython-311.opt-2.pyc
7.088 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
_encoded_words.cpython-311.pyc
8.917 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
_header_value_parser.cpython-311.opt-1.pyc
148.009 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
_header_value_parser.cpython-311.opt-2.pyc
131.794 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
_header_value_parser.cpython-311.pyc
148.093 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
_parseaddr.cpython-311.opt-1.pyc
23.744 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
_parseaddr.cpython-311.opt-2.pyc
20.958 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
_parseaddr.cpython-311.pyc
23.744 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
_policybase.cpython-311.opt-1.pyc
19.253 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
_policybase.cpython-311.opt-2.pyc
10.32 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
_policybase.cpython-311.pyc
19.253 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
base64mime.cpython-311.opt-1.pyc
4.263 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
base64mime.cpython-311.opt-2.pyc
2.553 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
base64mime.cpython-311.pyc
4.263 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
charset.cpython-311.opt-1.pyc
15.6 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
charset.cpython-311.opt-2.pyc
9.476 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
charset.cpython-311.pyc
15.659 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
contentmanager.cpython-311.opt-1.pyc
13.52 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
contentmanager.cpython-311.opt-2.pyc
13.52 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
contentmanager.cpython-311.pyc
13.52 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
encoders.cpython-311.opt-1.pyc
2.344 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
encoders.cpython-311.opt-2.pyc
2.022 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
encoders.cpython-311.pyc
2.344 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
errors.cpython-311.opt-1.pyc
8.475 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
errors.cpython-311.opt-2.pyc
6.917 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
errors.cpython-311.pyc
8.475 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
feedparser.cpython-311.opt-1.pyc
20.808 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
feedparser.cpython-311.opt-2.pyc
19.205 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
feedparser.cpython-311.pyc
21.003 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
generator.cpython-311.opt-1.pyc
22.485 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
generator.cpython-311.opt-2.pyc
18.896 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
generator.cpython-311.pyc
22.485 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
header.cpython-311.opt-1.pyc
26.357 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
header.cpython-311.opt-2.pyc
20.911 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
header.cpython-311.pyc
26.357 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
headerregistry.cpython-311.opt-1.pyc
32.91 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
headerregistry.cpython-311.opt-2.pyc
27.447 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
headerregistry.cpython-311.pyc
32.975 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
iterators.cpython-311.opt-1.pyc
3.103 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
iterators.cpython-311.opt-2.pyc
2.523 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
iterators.cpython-311.pyc
3.103 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
message.cpython-311.opt-1.pyc
57.685 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
message.cpython-311.opt-2.pyc
41.779 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
message.cpython-311.pyc
57.685 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
parser.cpython-311.opt-1.pyc
7.225 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
parser.cpython-311.opt-2.pyc
4.322 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
parser.cpython-311.pyc
7.225 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
policy.cpython-311.opt-1.pyc
12.262 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
policy.cpython-311.opt-2.pyc
6.231 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
policy.cpython-311.pyc
12.262 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
quoprimime.cpython-311.opt-1.pyc
10.987 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
quoprimime.cpython-311.opt-2.pyc
7.655 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
quoprimime.cpython-311.pyc
10.987 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
utils.cpython-311.opt-1.pyc
18.872 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
utils.cpython-311.opt-2.pyc
15.414 KB
17 Apr 2026 11.29 AM
root / linksafe
0644
utils.cpython-311.pyc
18.872 KB
17 Apr 2026 11.29 AM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF