Your IP : 3.137.177.116
U
e5d�4 � @ sj d Z ddddddddd d
ddd
ddgZddlZddlZddlZddlZddlZddlZddlZ ddl
mZ ddl
mZ
ddl
mZ ddl
mZmZmZ ddlmZ dZdZdZdZdZe�d�Ze�d�Zdd� Zdd � Zd7d"d�Zd#d� Zd$d%� Z d8d'd�Z!d9d(d�Z"d:d)d �Z#d*d� Z$d+d� Z%d,d� Z&d-d� Z'd;d.d�Z(e�d/ej)�Z*d0d� Z+d<d3d�Z,d=d5d6�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 tk
r$ Y dS X dS )z8Return True if s contains surrogate-escaped binary data.FTN)�encode�UnicodeEncodeError)�s� r �#/usr/lib64/python3.8/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"