관리-도구
편집 파일: _header_value_parser.cpython-311.opt-2.pyc
� c��fv� � � � d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ d dlm Z d dlmZ ed� � Z e ed� � z Z ed � � Zee z Ze ed � � z Ze ed� � z Ze ed� � z ed � � z Zee z Ze ed � � z Zee z Ze ed� � z ZddhZeez Zd� Z e j de j e j z � � Z G d� de� � Z G d� de � � Z! G d� de � � Z" G d� de � � Z# G d� de � � Z$ G d� de!� � Z% G d� d e � � Z& G d!� d"e � � Z' G d#� d$e � � Z( G d%� d&e � � Z) G d'� d(e)� � Z* G d)� d*e!� � Z+ G d+� d,e � � Z, G d-� d.e � � Z- G d/� d0e � � Z. G d1� d2e � � Z/ G d3� d4e � � Z0 G d5� d6e � � Z1 G d7� d8e � � Z2 G d9� d:e � � Z3 G d;� d<e � � Z4 G d=� d>e � � Z5 G d?� d@e � � Z6 G dA� dBe � � Z7 G dC� dDe � � Z8 G dE� dFe � � Z9 G dG� dHe � � Z: G dI� dJe � � Z; G dK� dLe#� � Z< G dM� dNe � � Z= G dO� dPe � � Z> G dQ� dRe � � Z? G dS� dTe � � Z@ G dU� dVe@� � ZA G dW� dXe � � ZB G dY� dZe � � ZC G d[� d\e � � ZD G d]� d^e � � ZE G d_� d`e � � ZF G da� dbeF� � ZG G dc� ddeF� � ZH G de� dfe � � ZI G dg� dhe � � ZJ G di� dje � � ZK G dk� dleK� � ZL G dm� dneL� � ZM G do� dpe � � ZN G dq� dreO� � ZP G ds� dteP� � ZQ G du� dveP� � ZR G dw� dxeQ� � ZS G dy� dze jT � � ZU eRd d{� � ZV eRd|d}� � ZWd~eW_X d~eW_Y eRdd�� � ZZ e j d��[ d��\ e � � � � � � j] Z^ e j d��[ e j_ d��\ e� � � � � � � � j` Za e j d�� � jb Zc e j d��[ e j_ d��\ e� � � � � � � � j` Zd e j d��[ e j_ d��\ e� � � � � � � � j` Ze e j d��[ e j_ d��\ e� � � � � � � � j` Zfd�� Zgd�� Zhd�� Zid�� Zjd�� Zkd�� Zld�� Zmd�� Znd�� Zod�� Zpd�� Zqd�� Zrd�� Zsd�� Ztd�� Zud�� Zvd�� Zwd�� Zxd�� Zyd�� Zzd�� Z{d�� Z|d�� Z}d�� Z~d�� Zd�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�d�� Z�dS )�� N)� hexdigits)� itemgetter)�_encoded_words)�errors)�utilsz �(z ()<>@,:;.\"[]�.z."(z/?=z*'%�%� � c �| � dt | � � � dd� � � dd� � z dz S )N�"�\�\\z\")�str�replace��values �A/opt/alt/python311/lib64/python3.11/email/_header_value_parser.py�quote_stringr b s8 � ��s�5�z�z�!�!�$��/�/�7�7��U�C�C�C�C�G�G� z� =\? # literal =? [^?]* # charset \? # literal ? [qQbB] # literal 'q' or 'b', case insensitive \? # literal ? .*? # encoded word \?= # literal ?= c � � � e Zd ZdZdZdZ� fd�Zd� Z� fd�Ze d� � � Z e d� � � Zd� Ze d � � � Z e d � � � Zd� Zdd �Zdd�Zdd�Z� xZS )� TokenListNTc �H �� t � � j |i |�� g | _ d S �N)�super�__init__�defects)�self�args�kw� __class__s �r r zTokenList.__init__{ s* �� ������$�%�"�%�%�%�����r c �@ � d� d� | D � � � � S )N� c 3 �4 K � | ]}t |� � V � �d S r �r ��.0�xs r � <genexpr>z$TokenList.__str__.<locals>.<genexpr>� �( � � � �,�,�!�s�1�v�v�,�,�,�,�,�,r ��join�r s r �__str__zTokenList.__str__ s# � ��w�w�,�,�t�,�,�,�,�,�,r c � �� d� | j j t � � � � � � � S �Nz{}({})��formatr"