관리-도구
편집 파일: utils.cpython-38.opt-2.pyc
U e5d�4 � @ sf d ddddddddd d ddd dgZ ddlZddlZddlZddlZddlZddlZddlZddl m Z ddl mZ ddl m Z ddl mZmZmZ ddlmZ dZdZdZdZdZe�d�Ze�d�Zdd� Zdd� Zd6d!d�Zd"d� Zd#d$� Zd7d&d�Z d8d'd�Z!d9d(d�Z"d)d � Z#d*d � Z$d+d� Z%d,d� Z&d:d-d�Z'e�d.ej(�Z)d/d� Z*d;d2d �Z+d<d4d5�Z,dS )=�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 d S )NFT)�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"