관리-도구
편집 파일: utils.cpython-36.opt-2.pyc
3 �Qg�J � @ s� d ddddddddd d ddd dgZ ddlZddlZddlZddlZddlZddlZddlZddl m Z ddl mZ ddl m Z ddl mZmZmZ ddlmZ dZdZdZdZdZejd�Zejd�ZdZdadd� Zdd � Zd!d"� Zd#d$� Z dHd&d�Z!d'd(� Z"d)d*� Z#d+Z$dd,�d-d�Z%d.d/� Z&d0d1� Z'd2d3� Z(ejd4ej)ej*B �Z+d5d6� Z,dId8d�Z-dJd9d�Z.dKd:d�Z/d;d � Z0dd,�d<d �Z1d=d� Z2d>d� Z3dLd?d�Z4ejd@ej5�Z6dAd� Z7dMdDd �Z8dOdFdG�Z9dS )P�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[\\"]z/etc/python/email.cfgc C s t d krt� a t S )N)�_cached_strict_addr_parsing�_use_strict_email_parsing_impl� r r �#/usr/lib64/python3.6/email/utils.py�_use_strict_email_parsing7 s r c C s� t tjjd��} | rdS ytt�}W n tk r8 Y nBX |�6 dd l}|jd d d�}|j |� |j ddd d�} W d Q R X | r�dS dS ) NZ(PYTHON_EMAIL_DISABLE_STRICT_ADDR_PARSINGFr �#)Z interpolationZcomment_prefixesZemail_addr_parsing)ZfallbackT)r )�bool�os�environ�get�open�_EMAIL_CONFIG_FILE�FileNotFoundError�configparserZConfigParserZ read_fileZ getboolean)Zdisabled�filer$ �configr r r r ? s"