관리-도구
편집 파일: utils.cpython-38.opt-2.pyc
U i�f~C � @ s� d ddddddddd d ddd dgZ ddlZddlZddlZddlZddlZddlZddlZddl m Z ddl mZ ddl m Z ddl mZmZmZ ddlmZ dZdZdZdZdZe�d�Ze�d�Zdd� Zdd� ZdBd!d�Zd"d#� Zd$d%� Zd&Z d&d'�d(d�Z!d)d*� Z"d+d,� Z#d-d.� Z$d/d0� Z%dCd2d�Z&dDd3d�Z'dEd4d�Z(d5d � Z)d&d'�d6d �Z*d7d� Z+d8d� Z,dFd9d�Z-e�d:ej.�Z/d;d� Z0dGd>d �Z1dHd@dA�Z2dS )I�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 �0/opt/alt/python38/lib64/python3.8/email/utils.py�_has_surrogates4 s r c C s | � dd�}|�dd�S )N�utf-8�surrogateescape�replace)r �decode)�stringZoriginal_bytesr r r � _sanitizeA s r"