Your IP : 3.137.200.56
o
6��fMQ � @ s� d dl mZ d dlmZ d dlmZ d dlmZ G dd� d�ZG dd� d�ZG d d
� d
e �Z
dd� ZG d
d� d�ZG dd� de�Z
G dd� d�ZG dd� de�ZG dd� d�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� d�ZG dd � d �ZG d!d"� d"e�ZG d#d$� d$e�ZG d%d&� d&�ZG d'd(� d(�Zi d)e
�d*e�d+e�d,e�d-e�d.e�d/e�d0e�d1e�d2e�d3e�d4e�d5e�d6e�d7e�d8e�d9e�eeed:��ZG d;d<� d<�Zd=S )>� )�MappingProxyType)�utils)�errors)�_header_value_parserc @ s^ e Zd Zddd�Zedd� �Zedd� �Zed d
� �Zedd� �Zd
d� Z dd� Z
dd� ZdS )�Address� Nc C s� d� td ||||f��}d|v sd|v rtd��|d urD|s!|r%td��t�|�\}}|r6td�||���|jr>|jd �|j}|j }|| _
|| _|| _d S )Nr �
�
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�parserZ
get_addr_spec�format�all_defects�
local_part�domain�
_display_name� _username�_domain)�self�display_name�usernamer � addr_specZinputsZa_s�rest� r �;/opt/alt/python310/lib64/python3.10/email/headerregistry.py�__init__ s* ��
zAddress.__init__c C � | j S �N�r �r r r r r 8 � zAddress.display_namec C r r )r r! r r r r <