AlkantarClanX12
Current Path : /opt/alt/python311/lib64/python3.11/email/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/email/__pycache__/headerregistry.cpython-311.opt-2.pyc |
� c��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;� � Zd<S )=� )�MappingProxyType)�utils)�errors)�_header_value_parserc � � e Zd Zdd�Zed� � � Zed� � � Zed� � � Zed� � � Zd� Z d � Z d � ZdS )�Address� Nc � � d� t d ||||f� � � � }d|v sd|v rt d� � �|�q|s|rt d� � �t j |� � \ }}|r#t d� ||� � � � �|j r |j d �|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�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/python311/lib64/python3.11/email/headerregistry.py�__init__zAddress.__init__ s � � � �����|�X�v�y�&Q�R�R�S�S���6�>�>�T�V�^�^��W�X�X�X� � �� 9�6� 9�� !8� 9� 9� 9��,�Y�7�7�I�C��� 5� � "=�=C�V�$'��>4� >4�5� 5� 5� �� )��o�a�(�(��~�H��Z�F�)���!�������� c � � | j S �N�r �r s r! r zAddress.display_name8 � � ��!�!r# c � � | j S r% )r r'