관리-도구
편집 파일: headerregistry.cpython-312.opt-2.pyc
� �Q�fSQ � �* � d dl mZ d dlmZ d dlmZ d dlmZ G d� d� Z G d� d� Z G d � d e � Z d� Z G d� d � Z G d� de� Z G d� d� Z G d� de� Z G d� d� Z G d� de� Z G d� de� Z G d� de� Z G d� d� Z G d� d� Z G d � d!e� Z G d"� d#e� Z G d$� d%� Z G d&� d'� Zi d(e �d)e�d*e�d+e�d,e�d-e�d.e�d/e�d0e�d1e�d2e�d3e�d4e�d5e�d6e�d7e�d8e�eeed9��Z G d:� d;� Zy<)=� )�MappingProxyType)�utils)�errors)�_header_value_parserc �f � e Zd Zd d�Zed� � Zed� � Zed� � Zed� � Zd� Z d� Z d � Zy)�AddressNc � � dj t d ||||f� � }d|v sd|v rt d� �|�w|s|rt d� �t j |� \ }}|rt dj ||� � �|j r|j d �|j }|j }|| _ || _ || _ y )N� � � z8invalid arguments; address parts cannot contain CR or LFz=addrspec specified when username and/or domain also specifiedz6Invalid addr_spec; only '{}' could be parsed from '{}'r ) �join�filter� ValueError� TypeError�parser� get_addr_spec�format�all_defects� local_part�domain� _display_name� _username�_domain)�self�display_name�usernamer � addr_spec�inputs�a_s�rests �;/opt/alt/python312/lib64/python3.12/email/headerregistry.py�__init__zAddress.__init__ s� � � � �����|�X�v�y�&Q�R�S���6�>�T�V�^��W�X�X� � ��6�� !8� 9� 9��,�,�Y�7�I�C��� � "=�=C�V�$'��>4�5� 5� ����o�o�a�(�(��~�~�H��Z�Z�F�)���!������ c � � | j S �N�r �r s r! r zAddress.display_name8 � � ��!�!�!r# c � � | j S r% )r r'