| Server IP : 159.253.20.91 / Your IP : 216.73.216.111 Web Server : nginx/1.20.2 System : Linux se38c9e53.fastvps-server.com 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 User : pr11_ru_usr ( 1041) PHP Version : 8.1.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/email/__pycache__/ |
Upload File : |
a
��;`�3 � @ sP d Z g d�ZddlZddlZddlZddlZddlZddlZddlZ ddl
mZ ddl
mZ
ddl
mZ ddl
mZmZmZ ddlmZ d Zd
Zd
ZdZdZe�d
�Ze�d�Zdd� Zdd� Zd5dd�Zdd� Zdd� Z d6dd�Z!d7dd�Z"d8dd �Z#d!d"� Z$d#d$� Z%d%d&� Z&d'd(� Z'd9d)d*�Z(e�d+ej)�Z*d,d-� Z+d:d0d1�Z,d;d3d4�Z-dS )<zMiscellaneous utilities.)�collapse_rfc2231_value�
decode_params�decode_rfc2231�encode_rfc2231�
formataddr�
formatdate�format_datetime�getaddresses�
make_msgid� mktime_tz� parseaddr� parsedate�parsedate_tz�parsedate_to_datetime�unquote� N)�quote)�AddressList)r
)r r
�
_parsedate_tz)�Charsetz, � z
�'z[][\\()<>@,:;".]z[\\"]c C s( z| � � W dS ty" Y dS 0 dS )z8Return True if s contains surrogate-escaped binary data.FTN)�encode�UnicodeEncodeError)�s� r �!/usr/lib/python3.9/email/utils.py�_has_surrogates3 s
r c C s | � dd�}|�dd�S )N�utf-8�surrogateescape�replace)r �decode)�stringZoriginal_bytesr r r � _sanitize@ s r"