/opt/alt/python311/lib64/python3.11/email/__pycache__
Edit: /opt/alt/python311/lib64/python3.11/email/__pycache__/message.cpython-311.pyc (59069B)
§
ß\�—ìãæ˜ã ó — d Z ddgZddlZddlZddlZddlmZmZ ddlm Z ddlm
Z
ddlmZm
Z
dd lmZ dd
lmZ ej ZdZ ej d¦ « Zd
„ Zdd„Zd„ Zd„ Zd„ Z G d„ d¦ « Z G d„ de¦ « Z G d„ de¦ « ZdS )z8Basic message object for the email package object model.ÚMessageÚEmailMessageé N)ÚBytesIOÚStringIO)Úutils)Úerrors)ÚPolicyÚcompat32©Úcharset)Údecode_bz; z[ \(\)<>@,;:\\"/\[\]\?=]c óÎ — t | ¦ « d¦ « \ }}}|s| ¦ « d fS | ¦ « | ¦ « fS )Nú;)ÚstrÚ partitionÚstrip)ÚparamÚaÚsepÚbs ú4/opt/alt/python311/lib64/python3.11/email/message.pyÚ_splitparamr sX € õ
�E‘
”
×$Ò$ SÑ)Ô)�I€A€sˆAØð Ø�wŠw‰yŒy˜$ˆÐØ�7Š7‰9Œ9�a—g’g‘i”iÐÐó Tc óÎ — |�ât |¦ « dk rÏt |t ¦ « r4| dz
} t j |d |d |d ¦ « }| ›d|›�S | d¦ « n2# t $ r% | dz
} t j |dd ¦ « }| ›d|›�cY S w xY w|st |¦ « r| ›d
t j |¦ « ›d�S | ›d|›�S | S )a~ Convenience function to format and return a key=value pair.
This will quote the value if needed or if quote is true. If value is a
three tuple (charset, language, value), it will be encoded according
to RFC2231 rules. If it contains non-ascii characters it will likewise
be encoded according to RFC2231 rules, using the utf-8 charset and
a null language.
Nr Ú*é é ú=Úasciizutf-8Ú z="ú")
ÚlenÚ
isinstanceÚtupler Úencode_rfc2231ÚencodeÚUnicodeEncodeErrorÚ tspecialsÚsearchÚquote)r Úvaluer* s r Ú_formatparamr, ' s# € ð
Ð�S ™ZœZ¨!š^˜^õ �e�UÑ#Ô#ð 0à�S‰LˆEÝÔ(¨¨q¬°5¸´8¸UÀ1¼XÑFÔFˆEØ#˜e˜e U UÐ+Ð+ð
0Ø—’˜WÑ%Ô%Ð%Ð%øÝ%ð
0ð
0ð
0ؘ‘�ÝÔ,¨U°G¸RÑ@Ô@�Ø"' % %¨¨Ð/Ð/Ð/Ð/ð
0øøøð ð ,•I×$Ò$ UÑ+Ô+ð ,Ø % ¥u¤{°5Ñ'9Ô'9Ð'9Ð'9Ð:Ð:à#˜e˜e U UÐ+Ð+àˆs Á A6 Á6,B%Â$B%c ó — dt | ¦ « z } g }d}| d|¦ « |k �rT|dz
}| d|¦ « }|d}}|dk r]|| d||¦ « | d||¦ « z
z
}|dz dk rn!|| d|dz ¦ « }}|dk °]|dk rt | ¦ « }| d||¦ « }|dk r| ||… }nQ| ||… ¦ « ¦ « dz | |dz |… ¦ « z }| | ¦ « ¦ « |}| d|¦ « |k �°T|S ) Nr r r r! z\"r r éÿÿÿÿ) r ÚfindÚcountr" ÚrstripÚlowerÚlstripÚappendr )ÚsÚplistÚstartÚendÚindÚdiffÚiÚfs r Ú_parseparamr= I s’ € à�c�!‰fŒf‰€AØ€EØ
€EØ
�&Š&��eÑ
Ô
Ò
%Ñ
%Ø
�‰
ˆØ�fŠf�S˜%Ñ Ô ˆØ˜1ˆTˆØ�AŠgˆgØ�A—G’G˜C cÑ*Ô*¨Q¯WªW°U¸CÀÑ-EÔ-EÑEÑEˆDØ�a‰x˜1Š}ˆ}ØØ˜AŸFšF 3¨¨a©Ñ0Ô0�ˆCð �AŠgˆgð
�Š7ˆ7Ý�a‘&”&ˆCØ
�FŠF�3˜˜sÑ#Ô#ˆØ�Š7ˆ7Ø�%˜�)”ˆAˆAà�%˜�'”
×!Ò!Ñ#Ô#×)Ò)Ñ+Ô+¨cÑ1°A°a¸±c¸#°g´J×4EÒ4EÑ4GÔ4GÑGˆAØ
�Š�Q—W’W‘Y”YÑÔÐØˆð# �&Š&��eÑ
Ô
Ò
%Ñ
%ð$ €Lr c ó¦ — t | t ¦ « r)| d | d t j | d ¦ « fS t j | ¦ « S )Nr r r )r# r$ r Úunquote)r+ s r Ú
_unquotevaluer@ c sI € õ
�%�ÑÔð $Ø�QŒx˜˜qœ¥5¤=°°q´Ñ#:Ô#:Ð:Ð:åŒ}˜UÑ#Ô#Ð#r c ó¬ — g }t | ¦ « ¦ « }|D ]g}| d¦ « rP| d¦ « d¦ « \ }}} t |d¬¦ « n # t $ r Y Œcw xY wŒht
d¦ « ‚|D ]¡}|st
d¦ « ‚| d¦ « dk r nt t j |¦ « }nH# t j
$ r6 |d d
z
dz dz d
z dz }t j |d|… ¦ « }Y nw xY w| |¦ « Œ¢d |¦ « S )zDecode uuencoded data.s begin ó é )Úbasez`begin` line not foundzTruncated inputs
s endr é é? é é é Nr )
ÚiterÚ
splitlinesÚ
startswithÚremoveprefixr ÚintÚ
ValueErrorr ÚbinasciiÚa2b_uuÚErrorr4 Újoin) ÚencodedÚ
decoded_linesÚencoded_lines_iterÚlineÚmodeÚ_ÚpathÚdecoded_lineÚnbytess r Ú
_decode_uur] n sž € à€Mݘg×0Ò0Ñ2Ô2Ñ3Ô3ÐØ"ð
3ð
3ˆØ�?Š?˜9Ñ%Ô%ð Ø ×-Ò-¨iÑ8Ô8×BÒBÀ4ÑHÔH‰MˆD�!�Tð
Ý�D˜qÐ!Ñ!Ô!Ð!ð �øõ ð
ð
ð
Ø�ð
øøøð õ Ð1Ñ2Ô2Ð2Ø"ð +ð +ˆØð ÝÐ.Ñ/Ô/Ð/Ø
�ZŠZ˜Ñ
%Ô
%¨Ò
/Ð
/؈Eð :Ý#œ?¨4Ñ0Ô0ˆLˆLøÝŒ~ð :ð :ð :à˜Qœ ™
bÑ(¨AÑ-°Ñ1°aÑ7ˆFÝ#œ?¨4°°°¬=Ñ9Ô9ˆLˆLˆLð :øøøð ×Ò˜\Ñ*Ô*Ð*Ð*à�8Š8�MÑ"Ô"Ð"s% Á*A=Á=
B
 B
ÃC#Ã#AD(Ä'D(c óV — e Zd ZdZefd„Zd„ Zd7d„Zd„ Zd8d „Z d
„ Z
d„ Zd„ Zd
„ Z
d9d„Zd:d„Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd:d„Zd„ Zd„ Zd:d„Zd„ Zd „ Z d!„ Z!d"„ Z"d#„ Z#d$„ Z$d%„ Z%d&„ Z&d;d)„Z' d;d*„Z( d
d/„Z+d:d0„Z,d:d1„Z-d2„ Z.d:d3„Z/d:d4„Z0d5„ Z1dd6l2m3Z3 dS )?r aÈ Basic message object.
A message object is defined as something that has a bunch of RFC 2822
headers and a payload. It may optionally have an envelope header
(a.k.a. Unix-From or From_ header). If the message is a container (i.e. a
multipart or a message/rfc822), then the payload is a list of Message
objects, otherwise it is a string.
Message objects implement part of the `mapping' interface, which assumes
there is exactly one occurrence of the header per message. Some headers
do in fact appear multiple times (e.g. Received) and for those headers,
you must use the explicit API to set or get all the headers. Not all of
the mapping methods are implemented.
c ó„ — || _ g | _ d | _ d | _ d | _ d x| _ | _ g | _ d| _ d S )Nú
text/plain) ÚpolicyÚ_headersÚ _unixfromÚ_payloadÚ_charsetÚpreambleÚepilogueÚdefectsÚ
_default_type)Úselfra s r Ú__init__zMessage.__init__œ sH € ؈ŒØˆŒ
؈ŒØˆŒ
؈Œ
à(,Ð,ˆŒ
˜œ
؈Œà)ˆÔÐÐr c ó* — | ¦ « S )z9Return the entire formatted message as a string.
)Ú as_string©rj s r Ú__str__zMessage.__str__¨ s € ð �~Š~ÑÔÐr Fr Nc ó´ — ddl m} |€| j n|}t ¦ « } ||d||¬¦ « }| | |¬¦ « | ¦ « S )a¾ Return the entire formatted message as a string.
Optional 'unixfrom', when true, means include the Unix From_ envelope
header. For backward compatibility reasons, if maxheaderlen is
not specified it defaults to 0, so you must override it explicitly
if you want a different maxheaderlen. 'policy' is passed to the
Generator instance used to serialize the message; if it is not
specified the policy associated with the message instance is used.
If the message object contains binary data that is not encoded
according to RFC standards, the non-compliant data will be replaced by
unicode "unknown character" code points.
r )Ú GeneratorNF)Úmangle_from_Úmaxheaderlenra ©Úunixfrom)Úemail.generatorrq ra r ÚflattenÚgetvalue)rj ru rs ra rq ÚfpÚgs r rm zMessage.as_string su € ð .Ð-Ð-Ð-Ð-Ð-Ø & �”�°FˆÝ
‰ZŒZˆØˆI�bØ#(Ø#/Ø#ð
%ñ
%ô
%ˆð
� Š �$ ˆ Ñ*Ô*Ð*Ø�{Š{‰}Œ}Ðr c ó* — | ¦ « S )z?Return the entire formatted message as a bytes object.
)Úas_bytesrn s r Ú __bytes__zMessage.__bytes__Å s € ð �}Š}‰ŒÐr c ó² — ddl m} |€| j n|}t ¦ « } ||d|¬¦ « }| | |¬¦ « | ¦ « S )aJ Return the entire formatted message as a bytes object.
Optional 'unixfrom', when true, means include the Unix From_ envelope
header. 'policy' is passed to the BytesGenerator instance used to
serialize the message; if not specified the policy associated with
the message instance is used.
r )ÚBytesGeneratorNF)rr ra rt )rv r ra r rw rx )rj ru ra r ry rz s r r| zMessage.as_bytesÊ sh € ð 3Ð2Ð2Ð2Ð2Ð2Ø & �”�°FˆÝ
‰YŒYˆØˆN˜2¨E¸&ÐAÑAÔAˆØ � Š �$ ˆ Ñ*Ô*Ð*Ø�{Š{‰}Œ}Ðr c ó6 — t | j t ¦ « S )z6Return True if the message consists of multiple parts.)r# rd Úlistrn s r Úis_multipartzMessage.is_multipartÙ s € å˜$œ-Ñ.Ô.Ð.r c ó — || _ d S ©N©rc )rj ru s r Úset_unixfromzMessage.set_unixfromà s
€ Ø!ˆŒˆˆr c ó — | j S r„ r… rn s r Úget_unixfromzMessage.get_unixfromã s
€ ØŒ~Ðr c ó˜ — | j €
|g| _ dS | j |¦ « dS # t $ r t d¦ « ‚w xY w)zðAdd the given payload to the current payload.
The current payload will always be a list of objects after this method
is called. If you want to set the payload to a scalar object, use
set_payload() instead.
Nz=Attach is not valid on a message with a non-multipart payload)rd r4 ÚAttributeErrorÚ TypeError)rj Úpayloads r ÚattachzMessage.attaché sl € ð Œ=Ð Ø$˜IˆDŒMˆMˆMð
:Ø”
×$Ò$ WÑ-Ô-Ð-Ð-Ð-øÝ!ð
:ð
:ð
:Ýð !9ñ :ô :ð :ð
:øøøs “/ ¯A c ó¸ — | ¦ « r|rdS |€| j S | j | S |�>t | j t ¦ « s$t dt | j ¦ « z ¦ « ‚| j }t
| dd¦ « ¦ « ¦ « }|s¥t |t ¦ « rŽt j
|¦ « rz | dd¦ « } | |
dd¦ « d¦ « }n