/opt/alt/python311/lib64/python3.11/email/__pycache__
NameSizeModeActions
base64mime.cpython-311.opt-1.pyc43650644editdlrm
base64mime.cpython-311.opt-2.pyc26140644editdlrm
base64mime.cpython-311.pyc43650644editdlrm
charset.cpython-311.opt-1.pyc159740644editdlrm
charset.cpython-311.opt-2.pyc97030644editdlrm
charset.cpython-311.pyc160350644editdlrm
contentmanager.cpython-311.opt-1.pyc138440644editdlrm
contentmanager.cpython-311.opt-2.pyc138440644editdlrm
contentmanager.cpython-311.pyc138440644editdlrm
encoders.cpython-311.opt-1.pyc24000644editdlrm
encoders.cpython-311.opt-2.pyc20710644editdlrm
encoders.cpython-311.pyc24000644editdlrm
errors.cpython-311.opt-1.pyc86780644editdlrm
errors.cpython-311.opt-2.pyc70830644editdlrm
errors.cpython-311.pyc86780644editdlrm
feedparser.cpython-311.opt-1.pyc213070644editdlrm
feedparser.cpython-311.opt-2.pyc196660644editdlrm
feedparser.cpython-311.pyc215070644editdlrm
generator.cpython-311.opt-1.pyc230250644editdlrm
generator.cpython-311.opt-2.pyc193500644editdlrm
generator.cpython-311.pyc230250644editdlrm
header.cpython-311.opt-1.pyc269900644editdlrm
header.cpython-311.opt-2.pyc214130644editdlrm
header.cpython-311.pyc269900644editdlrm
headerregistry.cpython-311.opt-1.pyc337000644editdlrm
headerregistry.cpython-311.opt-2.pyc281060644editdlrm
headerregistry.cpython-311.pyc337660644editdlrm
iterators.cpython-311.opt-1.pyc31770644editdlrm
iterators.cpython-311.opt-2.pyc25840644editdlrm
iterators.cpython-311.pyc31770644editdlrm
message.cpython-311.opt-1.pyc590690644editdlrm
message.cpython-311.opt-2.pyc427820644editdlrm
message.cpython-311.pyc590690644editdlrm
parser.cpython-311.opt-1.pyc73980644editdlrm
parser.cpython-311.opt-2.pyc44260644editdlrm
parser.cpython-311.pyc73980644editdlrm
policy.cpython-311.opt-1.pyc125560644editdlrm
policy.cpython-311.opt-2.pyc63810644editdlrm
policy.cpython-311.pyc125560644editdlrm
quoprimime.cpython-311.opt-1.pyc112510644editdlrm
quoprimime.cpython-311.opt-2.pyc78390644editdlrm
quoprimime.cpython-311.pyc112510644editdlrm
utils.cpython-311.opt-1.pyc193250644editdlrm
utils.cpython-311.opt-2.pyc157840644editdlrm
utils.cpython-311.pyc193250644editdlrm
_encoded_words.cpython-311.opt-1.pyc91310644editdlrm
_encoded_words.cpython-311.opt-2.pyc72580644editdlrm
_encoded_words.cpython-311.pyc91310644editdlrm
_header_value_parser.cpython-311.opt-1.pyc1515610644editdlrm
_header_value_parser.cpython-311.opt-2.pyc1349570644editdlrm
_header_value_parser.cpython-311.pyc1516470644editdlrm
_parseaddr.cpython-311.opt-1.pyc243140644editdlrm
_parseaddr.cpython-311.opt-2.pyc214610644editdlrm
_parseaddr.cpython-311.pyc243140644editdlrm
_policybase.cpython-311.opt-1.pyc197150644editdlrm
_policybase.cpython-311.opt-2.pyc105680644editdlrm
_policybase.cpython-311.pyc197150644editdlrm
__init__.cpython-311.opt-1.pyc21240644editdlrm
__init__.cpython-311.opt-2.pyc15280644editdlrm
__init__.cpython-311.pyc21240644editdlrm
Edit: /opt/alt/python311/lib64/python3.11/email/__pycache__/generator.cpython-311.pyc (23025B)
§ ­, –H›ãó —dZgd¢ZddlZddlZddlZddlZddlmZddlm Z m Z ddl m Z ddl mZdZd Zejd ¦«Zejd ej¦«Zejd ¦«Zejd ¦«ZGd„d¦«ZGd„de¦«ZdZGd„de¦«Zeeejdz ¦«¦«ZdezZej Z dS)z:Classes to generate plain text from a message object tree.)Ú GeneratorÚDecodedGeneratorÚBytesGeneratoréN)Údeepcopy)ÚStringIOÚBytesIO)Ú_has_surrogates)ÚHeaderWriteErrorÚ_ú z \r\n|\r|\nz^From z\r\n[^ \t]|\r[^ \n\t]|\n[^ \t]s\r\n[^ \t]|\r[^ \n\t]|\n[^ \t]có¨—eZdZdZdddœd„Zd„Zdd„Zd„Zd „Zd „Z d „Z d „Z d „Z d„Z d„ZeZd„Zd„Zd„Zd„Zedd„¦«Zed„¦«ZdS)rzŠGenerates output from a Message object tree. This basic generator writes the message to the given file object as plain text. N©ÚpolicycóX—|€ |€dn|j}||_||_||_||_dS)aõCreate the generator for message flattening. outfp is the output file-like object for writing the message to. It must have a write() method. Optional mangle_from_ is a flag that, when True (the default if policy is not set), escapes From_ lines in the body of the message by putting a `>' in front of them. Optional maxheaderlen specifies the longest length for a non-continued header. When a header line is longer (in characters, with tabs expanded to 8 spaces) than maxheaderlen, the header will split as defined in the Header class. Set maxheaderlen to zero to disable header wrapping. The default is 78, as recommended (but not required) by RFC 2822. The policy keyword specifies a policy object that controls a number of aspects of the generator's operation. If no policy is specified, the policy associated with the Message object passed to the flatten method is used. NT)Ú mangle_from_Ú_fpÚ _mangle_from_Ú maxheaderlenr)ÚselfÚoutfprrrs ú6/opt/alt/python311/lib64/python3.11/email/generator.pyÚ__init__zGenerator.__init__&s<€ð2 Ð Ø#) >˜4˜4°vÔ7JˆL؈ŒØ)ˆÔØ(ˆÔ؈Œ ˆ ˆ ócó:—|j |¦«dS©N)rÚwrite©rÚss rrzGenerator.writeFs€à Œ�Š�qÑÔÐÐÐrFcó¦—|j€|jn|j}|�| |¬¦«}|j�| |j¬¦«}|j|_| |j¦«|_d|_| |j¦«|_|j}|j} ||_||_|r[|  ¦«}|s(dtj tj ¦«¦«z}|  ||jz¦«|  |¦«||_||_dS#||_||_wxYw)aÿPrint the message object tree rooted at msg to the output file specified when the Generator instance was created. unixfrom is a flag that forces the printing of a Unix From_ delimiter before the first object in the message tree. If the original message has no From_ delimiter, a `standard' one is crafted. By default, this is False to inhibit the printing of any From_ delimiter. Note that for subobjects, no From_ line is printed. linesep specifies the characters used to indicate a new line in the output. The default value is determined by the policy specified when the Generator instance was created or, if none was specified, from the policy associated with the msg. N)Úlinesep©Úmax_line_lengthÚz From nobody )rÚclonerr Ú_NLÚ_encodeÚ _encoded_NLÚ_EMPTYÚ_encoded_EMPTYÚ get_unixfromÚtimeÚctimerÚ_write)rÚmsgÚunixfromr rÚold_gen_policyÚold_msg_policyÚufroms rÚflattenzGenerator.flattenJsE€ð* $œ{Ð2�”�¸¼ ˆØ Ð Ø—\’\¨'�\Ñ2Ô2ˆFØ Ô Ð (Ø—\’\°$Ô2C�\ÑDÔDˆFØ”>ˆŒØŸ<š<¨¬Ñ1Ô1ˆÔ؈Œ Ø"Ÿlšl¨4¬;Ñ7Ô7ˆÔ𠜈؜ˆð (Ø ˆDŒK؈CŒJØð -Ø×(Ò(Ñ*Ô*�ØðEØ*­T¬Z½¼ ¹ ¼ Ñ-DÔ-DÑD�EØ— ’ ˜5 4¤8Ñ+Ñ,Ô,Ð,Ø �KŠK˜Ñ Ô Ð à(ˆDŒKØ'ˆCŒJˆJˆJøð)ˆDŒKØ'ˆCŒJÐ 'Ð 'Ð 'Ð 's Â0BEÅEcóH—| ||jd|j¬¦«S)z1Clone this generator with the exact same options.Nr)Ú __class__rr)rÚfps rr$zGenerator.clone{s-€à�~Š~˜bØ"Ô0Ø"Ø%)¤[ðñ2ô2ð 2rcó—t¦«Sr)r©rs rÚ _new_bufferzGenerator._new_buffer�s €å‰zŒzÐrcó—|Sr©rs rr&zGenerator._encode“s€àˆrcó—|sdSt |¦«}|dd…D]1}| |¦«| |j¦«Œ2|dr| |d¦«dSdS)Néÿÿÿÿ)ÚNLCREÚsplitrr%)rÚlinesÚlines rÚ _write_lineszGenerator._write_lines—s’€àð Ø ˆFÝ— ’ ˜EÑ"Ô"ˆØ˜#˜2˜#”Jð !ð !ˆDØ �JŠJ�tÑ Ô Ð Ø �JŠJ�t”xÑ Ô Ð Ð Ø �Œ9ð "Ø �JŠJ�u˜R”yÑ !Ô !Ð !Ð !Ð !ð "ð "rcód—|j} d|_| ¦«x|_}| |¦«||_|j}|`n#||_|j}|`wxYw|rht |¦«}| d¦«€ |d|d<n| d|d¦«| d|d¦«t|dd¦«}|€| |¦«n ||¦«|j  |  ¦«¦«dS)Núcontent-transfer-encodingrúContent-Transfer-Encodingú content-typeéÚ_write_headers) rÚ _munge_cter9Ú _dispatchrÚgetÚreplace_headerÚgetattrrHrÚgetvalue)rr.ÚoldfpÚsfpÚ munge_cteÚmeths rr-zGenerator._write§sD€ð”ˆð Ø"ˆDŒOØ!×-Ò-Ñ/Ô/Ð /ˆDŒH�sØ �NŠN˜3Ñ Ô Ð àˆDŒHØœˆIØ��øðˆDŒHØœˆIØ�Ð Ð Ð Ð à ð =ݘ3‘-”-ˆCà�wŠwÐ2Ñ3Ô3Ð;Ø3<¸Q´<�Ð/Ñ0Ð0à×"Ò"Ð#>À È!Ä ÑMÔMÐMØ × Ò ˜~¨y¸¬|Ñ <Ô <Ð <õ�sÐ,¨dÑ3Ô3ˆØ ˆ<Ø × Ò  Ñ $Ô $Ð $Ð $à ˆD�‰JŒJˆJØ Œ�Š�s—|’|‘~”~Ñ&Ô&Ð&Ð&Ð&s ‰7AÁA#có^—| ¦«}| ¦«}t ||f¦« dd¦«}t |d|zd¦«}|€3| dd¦«}t |d|zd¦«}|€|j}||¦«dS)Nú-r Ú_handle_)Úget_content_maintypeÚget_content_subtypeÚ UNDERSCOREÚjoinÚreplacerMÚ _writeBody)rr.ÚmainÚsubÚspecificrRÚgenerics rrJzGenerator._dispatchÎs¬€ð ×'Ò'Ñ)Ô)ˆØ×%Ò%Ñ'Ô'ˆÝ—?’? D¨# ;Ñ/Ô/×7Ò7¸¸SÑAÔAˆÝ�t˜Z¨(Ñ2°DÑ9Ô9ˆØ ˆ<Ø—l’l 3¨Ñ,Ô,ˆGݘ4 ¨gÑ!5°tÑ<Ô<ˆD؈|Ø”�Ø ˆˆS‰ Œ ˆ ˆ ˆ rcóä—| ¦«D]À\}}|j ||¦«}|jjr|jj}| |jj¦«st d|›d|›�¦«‚t |  |¦«¦«rt d|›�¦«‚|  |¦«ŒÁ|  |j ¦«dS©Nz folded header does not end with z: z folded header contains newline: ) Ú raw_itemsrÚfoldÚverify_generated_headersr Úendswithr ÚNEWLINE_WITHOUT_FWSPÚsearchÚ removesuffixrr%©rr.ÚhÚvÚfoldedr s rrHzGenerator._write_headersâs€Ø—M’M‘O”Oð ð ‰DˆAˆqØ”[×%Ò% a¨Ñ+Ô+ˆFØŒ{Ô3ð GØœ+Ô-�Ø—’ t¤{Ô':Ñ;Ô;ðTÝ*ØR¸7ÐRÐRÈÐRÐRñTôTðTå'×.Ò.¨v×/BÒ/BÀ7Ñ/KÔ/KÑLÔLðGÝ*ØE¸6ÐEÐEñGôGðGà �JŠJ�vÑ Ô Ð Ð à � Š �4”8ÑÔÐÐÐrcó—| ¦«}|€dSt|t¦«stdt |¦«z¦«‚t |j¦«rm| d¦«}|�Vt|¦«}|d=|  |j|¦«| ¦«}|d|df|_ |j rt  d|¦«}| |¦«dS)Nzstring payload expected: %sÚcharsetrDrFú>From )Ú get_payloadÚ isinstanceÚstrÚ TypeErrorÚtyper Ú_payloadÚ get_paramrÚ set_payloadrIrÚfcrer]rB)rr.Úpayloadrns rÚ _handle_textzGenerator._handle_textõsþ€Ø—/’/Ñ#Ô#ˆØ ˆ?Ø ˆFݘ'¥3Ñ'Ô'ð KÝÐ9½DÀ¹M¼MÑIÑJÔJÐ JÝ ˜3œ<Ñ (Ô (ð 8Ø—m’m IÑ.Ô.ˆGØÐ"õ˜s‘m”m�ØÐ3Ð4Ø—’ ¤ ¨gÑ6Ô6Ð6ØŸ/š/Ñ+Ô+�Ø#&Ð'BÔ#CØ#& ~Ô#6ð#8�”à Ô ð 2Ý—h’h˜x¨Ñ1Ô1ˆGØ ×Ò˜'Ñ"Ô"Ð"Ð"Ð"rcóB—g}| ¦«}|€g}nDt|t¦«r| |¦«dSt|t¦«s|g}|D]o}| ¦«}| |¦«}| |d|j¬¦«|  |  ¦«¦«Œp|  ¦«}|sD|j   |¦«}| |¦«}| |¦«|j�^|jr!t$ d|j¦«} n|j} | | ¦«| |j¦«| d|z|jz¦«|r-|j | d¦«¦«|D]D} | |jdz|z|jz¦«|j | ¦«ŒE| |jdz|zdz|jz¦«|j�F|jr!t$ d|j¦«} n|j} | | ¦«dSdS)NF©r/r roz--r)rprqrrrÚlistr9r$r3r%ÚappendrNÚ get_boundaryr'rYÚ_make_boundaryÚ set_boundaryÚpreamblerrxr]rBrÚpopÚepilogue) rr.ÚmsgtextsÚsubpartsÚpartrÚgÚboundaryÚalltextr‚Ú body_partr„s rÚ_handle_multipartzGenerator._handle_multipart s‰€ðˆØ—?’?Ñ$Ô$ˆØ Р؈HˆHÝ ˜¥#Ñ &Ô &ð "à �JŠJ�xÑ Ô Ð Ø ˆFݘH¥dÑ+Ô+ð "à �zˆHØð *ð *ˆDØ× Ò Ñ"Ô"ˆAØ— ’ ˜1‘ ” ˆAØ �IŠI�d U°D´HˆIÑ =Ô =Ð =Ø �OŠO˜AŸJšJ™LœLÑ )Ô )Ð )Ð )à×#Ò#Ñ%Ô%ˆØð 'ðÔ&×+Ò+¨HÑ5Ô5ˆGØ×*Ò*¨7Ñ3Ô3ˆHØ × Ò ˜XÑ &Ô &Ð &à Œ<Ð #ØÔ!ð (ÝŸ8š8 H¨c¬lÑ;Ô;��àœ<�Ø × Ò ˜hÑ 'Ô 'Ð 'Ø �JŠJ�t”xÑ Ô Ð à � Š �4˜(‘? T¤XÑ-Ñ.Ô.Ð.à ð ,Ø ŒH�NŠN˜8Ÿ<š<¨™?œ?Ñ +Ô +Ð +ð"ð &ð &ˆIà �JŠJ�t”x $‘¨Ñ1°D´HÑ<Ñ =Ô =Ð =à ŒH�NŠN˜9Ñ %Ô %Ð %Ð %à � Š �4”8˜d‘? XÑ-°Ñ4°t´xÑ?Ñ@Ô@Ð@Ø Œ<Ð #ØÔ!ð (ÝŸ8š8 H¨c¬lÑ;Ô;��àœ<�Ø × Ò ˜hÑ 'Ô 'Ð 'Ð 'Ð 'ð $Ð #rcóœ—|j}| d¬¦«|_ | |¦«||_dS#||_wxYw)Nrr!)rr$rŒ)rr.Úps rÚ_handle_multipart_signedz"Generator._handle_multipart_signedGsS€ð ŒKˆØ—g’g¨a�gÑ0Ô0ˆŒ ð Ø × "Ò " 3Ñ 'Ô 'Ð 'àˆDŒKˆKˆKø˜!ˆDŒKˆOˆOˆOˆOs ¤AÁ A có@—g}| ¦«D]Ô}| ¦«}| |¦«}| |d|j¬¦«| ¦«}| |j¦«}|rG|d|jkr6|  |j  |dd…¦«¦«Œ¿|  |¦«ŒÕ|j   |j  |¦«¦«dS)NFr|r=) rpr9r$r3r%rNr?r'r)r~rYrr)rr.Úblocksr‡rrˆÚtextr@s rÚ_handle_message_delivery_statusz)Generator._handle_message_delivery_statusRs€ðˆØ—O’OÑ%Ô%ð $ð $ˆDØ× Ò Ñ"Ô"ˆAØ— ’ ˜1‘ ” ˆAØ �IŠI�d U°D´HˆIÑ =Ô =Ð =Ø—:’:‘<”<ˆDØ—J’J˜tÔ/Ñ0Ô0ˆEàð $˜˜rœ dÔ&9Ò9Ð9Ø— ’ ˜dÔ.×3Ò3°E¸#¸2¸#´JÑ?Ô?Ñ@Ô@Ð@Ð@à— ’ ˜dÑ#Ô#Ð#Ð#ð Œ�Š�tÔ'×,Ò,¨VÑ4Ô4Ñ5Ô5Ð5Ð5Ð5rcóx—| ¦«}| |¦«}|j}t|t¦«rE| | d¦«d|j¬¦«| ¦«}n|  |¦«}|j   |¦«dS)NrFr|) r9r$rurqr}r3rpr%rNr&rr)rr.rrˆrys rÚ_handle_messagezGenerator._handle_messagegs�€Ø × Ò Ñ Ô ˆØ �JŠJ�q‰MŒMˆð”,ˆÝ �g�tÑ $Ô $ð ,Ø �IŠI�c—o’o aÑ(Ô(°5À$Ä(ˆIÑ KÔ KÐ KØ—j’j‘l”lˆGˆGà—l’l 7Ñ+Ô+ˆGØ Œ�Š�wÑÔÐÐÐrcóF—tjtj¦«}dt|zzdz}|€|S|}d} | dt j|¦«zdzt j¦«}|  |¦«sn|dzt|¦«z}|dz }Œi|S) Nz===============z==rTz^--z(--)?$ú.rG) ÚrandomÚ randrangeÚsysÚmaxsizeÚ_fmtÚ _compile_reÚreÚescapeÚ MULTILINErgrr)Úclsr’Útokenr‰ÚbÚcounterÚcres rr€zGenerator._make_boundary€s©€õÔ ¥¤Ñ-Ô-ˆØ¥¨¡Ñ.°Ñ5ˆØ ˆ<؈OØ ˆØˆð Ø—/’/ %­"¬)°A©,¬,Ñ"6¸Ñ"AÅ2Ä<ÑPÔPˆCØ—:’:˜dÑ#Ô#ð ØØ˜3‘¥ W¡¤Ñ-ˆAØ �q‰LˆGð  ð ˆrcó,—tj||¦«Sr)ržÚcompile©r¡rÚflagss rr�zGenerator._compile_re’s€åŒz˜!˜UÑ#Ô#Ð#r)NN)FNr)Ú__name__Ú __module__Ú __qualname__Ú__doc__rrr3r$r9r&rBr-rJrHrzr[rŒr�r“r•Ú classmethodr€r�r;rrrrs\€€€€€ðððØðððððð@ððð/(ð/(ð/(ð/(ðb2ð2ð2ð(ðððððð "ð "ð "ð %'ð%'ð%'ðNððð( ð ð ð&#ð#ð#ð,€Jð8(ð8(ð8(ðt ð ð ð6ð6ð6ð* ð ð ð2ðððñ„[ðð"ð$ð$ñ„[ð$ð$ð$rrcóT‡—eZdZdZd„Zd„Zd„Zd„Zˆfd„ZeZ e d„¦«Z ˆxZ S)raþGenerates a bytes version of a Message object tree. Functionally identical to the base Generator except that the output is bytes and not string. When surrogates were used in the input to encode bytes, these are decoded back to bytes for output. If the policy has cte_type set to 7bit, then the message is transformed such that the non-ASCII bytes are properly content transfer encoded, using the charset unknown-8bit. The outfp object must accept bytes in its write method. cób—|j | dd¦«¦«dS)NÚasciiÚsurrogateescape)rrÚencoders rrzBytesGenerator.write¤s+€Ø Œ�Š�q—x’x Ð):Ñ;Ô;Ñ<Ô<Ð<Ð<ÐÔ#>Ø#'×#;Ò#;Ñ#=Ô#=Ø#'×#4Ò#4°_Ñ#EÔ#EØ#'§8¢8Ð,AØ,>ñ$@ô$@à#'§8¢8Ð,GØ,;ñ$=ô$=ð #ð #ñ ð!ð "ñ "ô "ð "ð "ð "ð "r)NNN)rªr«r¬r­rrJr;rrrrÔsN€€€€€ððð Øðððððð<"ð"ð"ð"ð"rrrGz%%0%dd)!r­Ú__all__ržršr+r˜ÚcopyrÚiorrÚ email.utilsr Ú email.errorsr rXÚNLr§r>r rxrfr¹rrrÂrÚlenÚreprr›Ú_widthrœr€r;rrúrÚs©ðð AÐ@à =Ð =Ð =€à € € € Ø € € € Ø € € € Ø € € € àÐÐÐÐÐØ Ð Ð Ð Ð Ð Ð Ð Ø'Ð'Ð'Ð'Ð'Ð'Ø)Ð)Ð)Ð)Ð)Ð)à € Ø €àˆŒ �=Ñ!Ô!€Ø€r„z�)˜Rœ\Ñ*Ô*€Ø!�r”zÐ"CÑDÔDÐØ'˜RœZÐ(JÑKÔKÐðx$ðx$ðx$ðx$ðx$ñx$ôx$ðx$ðv 84ð84ð84ð84ð84�Yñ84ô84ð84ðvN€ð6"ð6"ð6"ð6"ð6"�yñ6"ô6"ð6"ðt ˆˆTˆT�#”+˜a‘-Ñ Ô Ñ !Ô !€Ø�&Ñ€ðÔ)€€€r