Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 Disable Function : NONE Directory : /opt/alt/python38/lib64/python3.8/email/__pycache__/ |
U ��,aKQ � @ sv 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(�Ze eeeeeeeeeeeeeeeeeeed)�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|ks(d|kr0td��|d k r�|s@|rHtd��t�|�\}}|rjtd�||���|jrz|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 �9/opt/alt/python38/lib64/python3.8/email/headerregistry.py�__init__ s&