관리-도구
편집 파일: _header_value_parser.cpython-312.opt-2.pyc
� �Q�f9� � �� � 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 j6 de j8 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 j� � ZU eRd d{� ZV eRd|d}� ZWd~eW_X d~eW_Y eRdd�� ZZ e j6 d�j� d�j� e � � � j� Z^ e j6 d�j� e j� d�j� e� � � � j� Za e j6 d�� j� Zc e j6 d�j� e j� d�j� e� � � � j� Zd e j6 d�j� e j� d�j� e� � � � j� Ze e j6 d�j� e j� d�j� 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�y)�� N)� hexdigits)� itemgetter)�_encoded_words)�errors)�utilsz �(z ()<>@,:;.\"[]�.z."(z/?=z*'%�%� � c �d � dt | � j dd� j dd� z dz S )N�"�\�\\z\")�str�replace��values �A/opt/alt/python312/lib64/python3.12/email/_header_value_parser.py�quote_stringr b s0 � ��s�5�z�!�!�$��/�7�7��U�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 �2 �� t �| � |i |�� g | _ y �N)�super�__init__�defects)�self�args�kw� __class__s �r r zTokenList.__init__{ s �� � ���$�%�"�%���r c �2 � dj d� | D � � S )N� c 3 �2 K � | ] }t |� �� � y �wr �r ��.0�xs r � <genexpr>z$TokenList.__str__.<locals>.<genexpr>� � � �� �,�t�!�s�1�v�t�� ���join�r s r �__str__zTokenList.__str__ s � ��w�w�,�t�,�,�,r c �h �� dj | j j t �| � � � S �Nz{}({})��formatr"