$52 GRAYBYTE WORDPRESS FILE MANAGER $58

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.216.51
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/lib64/python3.12/email/__pycache__/

HOME
Current File : /usr/lib64/python3.12/email/__pycache__//_encoded_words.cpython-312.opt-1.pyc
�

�֦i]!��2�dZddlZddlZddlZddlZddlmZmZddlm	Z	gd�Z
ejejd�jd��Zd�ZGd	�d
e�Ze�Zdeed�<d
�Zd�Zd�Zd�Zd�Zeed�Zd�Zeed�Zeed�Zdd�Zy)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�f�tj|jd�j��S)N�)�bytes�fromhex�groupr)�ms �-/usr/lib64/python3.12/email/_encoded_words.py�<lambda>rAs��%�-�-�����
� 1� 1� 3�4�c�@�|jdd�}t|�gfS)N�_� )�replace�_q_byte_subber)�encodeds rrrCs"���o�o�d�D�)�G��'�"�B�&�&rc�b�eZdZdejd�zejd�zZd�Zy)�	_QByteMaps-!*+/�asciic�v�||jvrt|�||<||Sdj|�||<||S)Nz={:02X})�safe�chr�format)�self�keys  r�__missing__z_QByteMap.__missing__MsG���$�)�)���C��D��I��C�y��"�(�(��-�D��I��C�y�rN)�__name__�
__module__�__qualname__rr
rr!r&�rrrrIs/���*�m�*�*�7�3�3�m�f�m�m�G�6L�L�D�rr�_� c�2�djd�|D��S)N�c3�.K�|]
}t|���y�w�N)�_q_byte_map��.0�xs  r�	<genexpr>zencode_q.<locals>.<genexpr>Zs����3�7�a�;�q�>�7�s�)�join��bstrings rrrYs��
�7�7�3�7�3�3�3rc�&�td�|D��S)Nc3�@K�|]}tt|����y�wr0)�lenr1r2s  rr5zlen_q.<locals>.<genexpr>]s����4�G�q�s�;�q�>�"�G�s�)�sumr7s rr
r
\s���4�G�4�4�4rc�P�t|�dz}|rddd|z
nd}	tj||zd��|rtj�gfSgfS#t
j$r�	tj|d��tj�gfcYS#t
j$r|	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   rrrds7���'�l�Q��G�,3�f�Z�a��i�(��O�E����W��6��F�5<�V�
.�
.�
0�1�
�	
�BD�
�	
���>�>�E�	E�� � ��5�9��5�5�7�8��
���~�~�	E�
E��$�$�W�u�_�u�E��9�9�;��6�6�8�:����
�>�>�
E���!A�!A�!C� D�D�D�

E��	E��E�sZ�0A�
A�D%�$+B�D%�D!�&AC,�'D!�(D%�,*D�D!�D%�D�D!�!D%c�J�tj|�jd�S)Nr)r@�	b64encoderr7s rr	r	�s�����G�$�+�+�G�4�4rc�N�tt|�d�\}}|dz|rdzSdzS)N�r>r)�divmodr;)r8�groups_of_3�leftovers   rrr�s0��"�3�w�<��3��K����?�8�a�3�3��3�3r)�q�bc�<�|jd�\}}}}}|jd�\}}}|j�}|jdd�}t	||�\}}	|j|�}||||fS#t$r=|jtjd|�d���|j|d�}Y�Kttf$rP|jdd�}|j�dk7r(|jtjd|�d	���Y��wxYw)
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�s1��*&(�X�X�c�]�"�A�w��Z���(�(��-��G�Q��

�)�)�+�C�����):�;�G�$�S�)�'�2��G�W�
?�����(���7�D�'�)�)���<����v�4�4�62�29��H�6F�G�	H�����):�;���+�,�?�����):�;���=�=�?�n�,��N�N�6�.�.�1A�'��M<�0=�>�
?��?�s�!A8�8AD�=AD�Dc��|dk(r|jdd�}n|j|�}|�(td|�}td|�}||z
dkrdnd}t||�}|rd|z}dj||||�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.

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

Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
26 May 2026 8.05 AM
root / root
0755
__init__.cpython-312.opt-1.pyc
1.876 KB
27 Apr 2026 4.36 PM
root / root
0644
__init__.cpython-312.opt-2.pyc
1.297 KB
27 Apr 2026 4.36 PM
root / root
0644
__init__.cpython-312.pyc
1.876 KB
27 Apr 2026 4.36 PM
root / root
0644
_encoded_words.cpython-312.opt-1.pyc
8.113 KB
27 Apr 2026 4.36 PM
root / root
0644
_encoded_words.cpython-312.opt-2.pyc
6.29 KB
27 Apr 2026 4.36 PM
root / root
0644
_encoded_words.cpython-312.pyc
8.113 KB
27 Apr 2026 4.36 PM
root / root
0644
_header_value_parser.cpython-312.opt-1.pyc
130.734 KB
27 Apr 2026 4.36 PM
root / root
0644
_header_value_parser.cpython-312.opt-2.pyc
114.531 KB
27 Apr 2026 4.36 PM
root / root
0644
_header_value_parser.cpython-312.pyc
130.795 KB
27 Apr 2026 4.36 PM
root / root
0644
_parseaddr.cpython-312.opt-1.pyc
22.702 KB
27 Apr 2026 4.36 PM
root / root
0644
_parseaddr.cpython-312.opt-2.pyc
19.93 KB
27 Apr 2026 4.36 PM
root / root
0644
_parseaddr.cpython-312.pyc
22.702 KB
27 Apr 2026 4.36 PM
root / root
0644
_policybase.cpython-312.opt-1.pyc
18.199 KB
27 Apr 2026 4.36 PM
root / root
0644
_policybase.cpython-312.opt-2.pyc
9.291 KB
27 Apr 2026 4.36 PM
root / root
0644
_policybase.cpython-312.pyc
18.199 KB
27 Apr 2026 4.36 PM
root / root
0644
base64mime.cpython-312.opt-1.pyc
3.854 KB
27 Apr 2026 4.36 PM
root / root
0644
base64mime.cpython-312.opt-2.pyc
2.149 KB
27 Apr 2026 4.36 PM
root / root
0644
base64mime.cpython-312.pyc
3.854 KB
27 Apr 2026 4.36 PM
root / root
0644
charset.cpython-312.opt-1.pyc
14.822 KB
27 Apr 2026 4.36 PM
root / root
0644
charset.cpython-312.opt-2.pyc
8.703 KB
27 Apr 2026 4.36 PM
root / root
0644
charset.cpython-312.pyc
14.888 KB
27 Apr 2026 4.36 PM
root / root
0644
contentmanager.cpython-312.opt-1.pyc
12.074 KB
27 Apr 2026 4.36 PM
root / root
0644
contentmanager.cpython-312.opt-2.pyc
12.074 KB
27 Apr 2026 4.36 PM
root / root
0644
contentmanager.cpython-312.pyc
12.074 KB
27 Apr 2026 4.36 PM
root / root
0644
encoders.cpython-312.opt-1.pyc
2.042 KB
27 Apr 2026 4.36 PM
root / root
0644
encoders.cpython-312.opt-2.pyc
1.725 KB
27 Apr 2026 4.36 PM
root / root
0644
encoders.cpython-312.pyc
2.042 KB
27 Apr 2026 4.36 PM
root / root
0644
errors.cpython-312.opt-1.pyc
6.858 KB
27 Apr 2026 4.36 PM
root / root
0644
errors.cpython-312.opt-2.pyc
5.4 KB
27 Apr 2026 4.36 PM
root / root
0644
errors.cpython-312.pyc
6.858 KB
27 Apr 2026 4.36 PM
root / root
0644
feedparser.cpython-312.opt-1.pyc
19.149 KB
27 Apr 2026 4.36 PM
root / root
0644
feedparser.cpython-312.opt-2.pyc
17.563 KB
27 Apr 2026 4.36 PM
root / root
0644
feedparser.cpython-312.pyc
19.336 KB
27 Apr 2026 4.36 PM
root / root
0644
generator.cpython-312.opt-1.pyc
20.736 KB
27 Apr 2026 4.36 PM
root / root
0644
generator.cpython-312.opt-2.pyc
17.165 KB
27 Apr 2026 4.36 PM
root / root
0644
generator.cpython-312.pyc
20.736 KB
27 Apr 2026 4.36 PM
root / root
0644
header.cpython-312.opt-1.pyc
23.937 KB
27 Apr 2026 4.36 PM
root / root
0644
header.cpython-312.opt-2.pyc
18.493 KB
27 Apr 2026 4.36 PM
root / root
0644
header.cpython-312.pyc
23.937 KB
27 Apr 2026 4.36 PM
root / root
0644
headerregistry.cpython-312.opt-1.pyc
30.188 KB
27 Apr 2026 4.36 PM
root / root
0644
headerregistry.cpython-312.opt-2.pyc
24.743 KB
27 Apr 2026 4.36 PM
root / root
0644
headerregistry.cpython-312.pyc
30.241 KB
27 Apr 2026 4.36 PM
root / root
0644
iterators.cpython-312.opt-1.pyc
2.735 KB
27 Apr 2026 4.36 PM
root / root
0644
iterators.cpython-312.opt-2.pyc
2.159 KB
27 Apr 2026 4.36 PM
root / root
0644
iterators.cpython-312.pyc
2.735 KB
27 Apr 2026 4.36 PM
root / root
0644
message.cpython-312.opt-1.pyc
51.866 KB
27 Apr 2026 4.36 PM
root / root
0644
message.cpython-312.opt-2.pyc
35.986 KB
27 Apr 2026 4.36 PM
root / root
0644
message.cpython-312.pyc
51.866 KB
27 Apr 2026 4.36 PM
root / root
0644
parser.cpython-312.opt-1.pyc
6.59 KB
27 Apr 2026 4.36 PM
root / root
0644
parser.cpython-312.opt-2.pyc
3.69 KB
27 Apr 2026 4.36 PM
root / root
0644
parser.cpython-312.pyc
6.59 KB
27 Apr 2026 4.36 PM
root / root
0644
policy.cpython-312.opt-1.pyc
11.527 KB
27 Apr 2026 4.36 PM
root / root
0644
policy.cpython-312.opt-2.pyc
5.513 KB
27 Apr 2026 4.36 PM
root / root
0644
policy.cpython-312.pyc
11.527 KB
27 Apr 2026 4.36 PM
root / root
0644
quoprimime.cpython-312.opt-1.pyc
9.719 KB
27 Apr 2026 4.36 PM
root / root
0644
quoprimime.cpython-312.opt-2.pyc
6.392 KB
27 Apr 2026 4.36 PM
root / root
0644
quoprimime.cpython-312.pyc
9.719 KB
27 Apr 2026 4.36 PM
root / root
0644
utils.cpython-312.opt-1.pyc
15.598 KB
27 Apr 2026 4.36 PM
root / root
0644
utils.cpython-312.opt-2.pyc
12.466 KB
27 Apr 2026 4.36 PM
root / root
0644
utils.cpython-312.pyc
15.598 KB
27 Apr 2026 4.36 PM
root / root
0644

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