| Server IP : 121.121.20.254 / Your IP : 216.73.217.141 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python315/Lib/email/__pycache__/ |
Upload File : |
R
>lqj:U c �D � Q s ] QHGs ] QHGs ] QHGs Q Q2 s Q Q2 s Q Q \2 s Q
s
Q Q2 s Q
Q\2 s Q Q2 s
Q Q\
2 s Q Q2 s Q Q\2 s Q Q\2 s Q Q\2 s Q Q2 s Q Q2 s Q Q \2 s Q! Q"\2 s Q# Q$2 s Q% Q&2 s Q' Q(2 s- Q)\aQ*\aQ+\
aQ,\aQ-\aQ.\aQ/\aQ0\aQ1\aQ2\aQ3\aQ4\aQ5\aQ6\aQ7\aQ8\aQ9\aQ:\Q;\Q<\Q=\Q>\-As Q? Q@2 sP! )Az�Representing and manipulating email headers via custom objects.
This module provides an implementation of the HeaderRegistry API.
The implementation is designed to flexibly follow RFC5322 rules.
)�utils)�errors)�_header_value_parserc �~ ` � \ sQ s]
s n Q
Q ks\Q 2 s\Q 2 s\Q 2 s\Q 2 s Q s
Q sQ sQ s
U sP! )�Addressc �� � PO [ PVV412 2 oQU7 f QU7 c [ Q2 gUd� U% f U% c [ Q2 g[ O
U2 v qgU% c [ QO
Vd2 2 gUO % c UO ] * gUO oUO oVm
V m V0m P! )a� Create an object representing a full email address.
An address can have a 'display_name', a 'username', and a 'domain'. In
addition to specifying the username and domain separately, they may be
specified together by using the addr_spec keyword *instead of* the
username and domain keywords. If an addr_spec string is specified it
must be properly quoted according to RFC 5322 rules; an error will be
raised if it is not.
An Address object has display_name, username, domain, and addr_spec
attributes, all of which are read-only. The addr_spec and the string
value of the object are both quoted according to RFC5322 rules, but
without any Content Transfer Encoding.
�
�
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 '{}')
�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 &&&&& �)C:\Python315\\Lib\email\headerregistry.py�__init__�Address.__init__ s� � �"