/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__/charset.cpython-311.opt-1.pyc (15974B)
§ ôª1NÍÆ`+ã ó—gd¢ZddlmZddlZddlZddlmZddlmZdZ dZ dZ d Z d Z d Zd Zid e e df“de e df“de e df“de e df“de e df“de e df“de e df“de e df“de e df“de e df“de e df“de e df“d d“de e df“de e df“de ddf“de ddf“e ddfe e dfe e dfd œ¥Zid!d “d"d “d#d“d$d“d%d“d&d“d'd“d(d“d)d“d*d“d+d“d,d“d-d“d.d“d/d“d0d“d1d“dddd2dd3d d4œ¥Zd5d6dd7œZdd8„Zd9„Zd:„Zd;„ZGd<„d=¦«ZdS)>)ÚCharsetÚ add_aliasÚ add_charsetÚ add_codecé)ÚpartialN)Úerrors)Úencode_7or8bitééééúus-asciiz unknown-8bitÚz iso-8859-1z iso-8859-2z iso-8859-3z iso-8859-4z iso-8859-9z iso-8859-10z iso-8859-13z iso-8859-14z iso-8859-15z iso-8859-16z windows-1252Úviscii)NNNÚbig5Úgb2312zeuc-jpú iso-2022-jpÚ shift_jisúutf-8)rzkoi8-rrÚlatin_1zlatin-1Úlatin_2zlatin-2Úlatin_3zlatin-3Úlatin_4zlatin-4Úlatin_5zlatin-5Úlatin_6zlatin-6Úlatin_7zlatin-7Úlatin_8zlatin-8Úlatin_9zks_c_5601-1987zeuc-kr)zlatin-9Úlatin_10zlatin-10Úcp949Úeuc_jpÚeuc_krÚasciiÚ eucgb2312_cnÚbig5_tw)rrrcóT—|tkrtd¦«‚|||ft|<dS)a>Add character set properties to the global registry. charset is the input character set, and must be the canonical name of a character set. Optional header_enc and body_enc is either Charset.QP for quoted-printable, Charset.BASE64 for base64 encoding, Charset.SHORTEST for the shortest of qp or base64 encoding, or None for no encoding. SHORTEST is only valid for header_enc. It describes how message headers and message bodies in the input charset are to be encoded. Default is no encoding. Optional output_charset is the character set that the output should be in. Conversions will proceed from input charset, to Unicode, to the output charset when the method Charset.convert() is called. The default is to output in the same character set as the input. Both input_charset and output_charset must have Unicode codec entries in the module's charset-to-codec mapping; use add_codec(charset, codecname) to add codecs the module does not know about. See the codecs module's documentation for more information. z!SHORTEST not allowed for body_encN)ÚSHORTESTÚ ValueErrorÚCHARSETS)ÚcharsetÚ header_encÚbody_encÚoutput_charsets ú4/opt/alt/python311/lib64/python3.11/email/charset.pyrrjs5€ð.•8ÒÐÝÐ<Ñ=Ô=Ð=Ø# X¨~Ð>…HˆWÑÐÐócó—|t|<dS)z�Add a character set alias. alias is the alias name, e.g. latin-1 canonical is the character set's canonical name, e.g. iso-8859-1 N)ÚALIASES)ÚaliasÚ canonicals r.rr†s€ð …GˆE�N€N€Nr/có—|t|<dS)a$Add a codec that map characters in the given charset to/from Unicode. charset is the canonical name of a character set. codecname is the name of a Python codec, as appropriate for the second argument to the unicode() built-in, or to the encode() method of a Unicode string. N)Ú CODEC_MAP)r*Ú codecnames r.rr�s€ð#…IˆgÑÐÐr/cón—|tkr| dd¦«S| |¦«S)Nr#Úsurrogateescape)Ú UNKNOWN8BITÚencode)ÚstringÚcodecs r.Ú_encoder=›s4€Ø • ÒÐØ�}Š}˜WÐ&7Ñ8Ô8Ð8à�}Š}˜UÑ#Ô#Ð#r/cóL—eZdZdZefd„Zd„Zd„Zd„Zd„Z d„Z d„Z d „Z d „Z d S) ra@ Map character sets to their email properties. This class provides information about the requirements imposed on email for a specific character set. It also provides convenience routines for converting between character sets, given the availability of the applicable codecs. Given a character set, it will do its best to provide information on how to use that character set in an email in an RFC-compliant way. Certain character sets must be encoded with quoted-printable or base64 when used in email headers or bodies. Certain character sets must be converted outright, and are not allowed in email. Instances of this module expose the following information about a character set: input_charset: The initial character set specified. Common aliases are converted to their `official' email names (e.g. latin_1 is converted to iso-8859-1). Defaults to 7-bit us-ascii. header_encoding: If the character set must be encoded before it can be used in an email header, this attribute will be set to Charset.QP (for quoted-printable), Charset.BASE64 (for base64 encoding), or Charset.SHORTEST for the shortest of QP or BASE64 encoding. Otherwise, it will be None. body_encoding: Same as header_encoding, but describes the encoding for the mail message's body, which indeed may be different than the header encoding. Charset.SHORTEST is not allowed for body_encoding. output_charset: Some character sets must be converted before they can be used in email headers or bodies. If the input_charset is one of them, this attribute will contain the name of the charset output will be converted to. Otherwise, it will be None. input_codec: The name of the Python codec used to convert the input_charset to Unicode. If no conversion codec is necessary, this attribute will be None. output_codec: The name of the Python codec used to convert Unicode to the output_charset. If no conversion codec is necessary, this attribute will have the same value as the input_codec. có¤— t|t¦«r| d¦«nt|d¦«}n"#t$rt j|¦«‚wxYw| ¦«}t ||¦«|_ t |j ttdf¦«\}}}|s|j }||_ ||_t ||¦«|_t  |j |j ¦«|_t  |j|j¦«|_dS)Nr#)Ú isinstanceÚstrr:Ú UnicodeErrorrÚ CharsetErrorÚlowerr1ÚgetÚ input_charsetr)r'ÚBASE64Úheader_encodingÚ body_encodingr-r5Ú input_codecÚ output_codec)ÚselfrFÚhencÚbencÚconvs r.Ú__init__zCharset.__init__Îs@€ð  5ݘ-­Ñ-Ô-ð <Ø×$Ò$ WÑ-Ô-Ð-Ð-å # M°7Ñ ;Ô ;� øøÝð 5ð 5ð 5ÝÔ% mÑ4Ô4Ð 4ð 5øøøà%×+Ò+Ñ-Ô-ˆ å$Ÿ[š[¨¸ ÑFÔFˆÔõ$Ÿ<š<¨Ô(:Ý)1µ6¸4Ð(@ñBôBшˆd�Dàð &ØÔ%ˆDà#ˆÔØ!ˆÔÝ%Ÿkšk¨$°Ñ5Ô5ˆÔõ%Ÿ=š=¨Ô);Ø)-Ô);ñ=ô=ˆÔå%ŸMšM¨$Ô*=Ø*.Ô*=ñ?ô?ˆÔÐÐs ‚;>¾Acó4—|j ¦«S©N)rFrD©rLs r.Ú__repr__zCharset.__repr__ïs€ØÔ!×'Ò'Ñ)Ô)Ð)r/cóf—t|¦«t|¦« ¦«kSrR)rArD)rLÚothers r.Ú__eq__zCharset.__eq__òs%€Ý�4‰yŒy�C ™JœJ×,Ò,Ñ.Ô.Ò.Ð.r/cóX—|jtkrdS|jtkrdStS)aPReturn the content-transfer-encoding used for body encoding. This is either the string `quoted-printable' or `base64' depending on the encoding used, or it is a function in which case you should call the function with a single argument, the Message object being encoded. The function should then set the Content-Transfer-Encoding header itself to whatever is appropriate. Returns "quoted-printable" if self.body_encoding is QP. Returns "base64" if self.body_encoding is BASE64. Returns conversion function otherwise. zquoted-printableÚbase64)rIÚQPrGr rSs r.Úget_body_encodingzCharset.get_body_encodingõs1€ð Ô ¥Ò #Ð #Ø%Ð%Ø Ô ¥6Ò )Ð )Ø�8å!Ð !r/có—|jp|jS)z�Return the output character set. This is self.output_charset if that is not None, otherwise it is self.input_charset. )r-rFrSs r.Úget_output_charsetzCharset.get_output_charset s€ð Ô"Ð8 dÔ&8Ð8r/có’—|jpd}t||¦«}| |¦«}|€|S| ||¦«S)ažHeader-encode a string by converting it first to bytes. The type of encoding (base64 or quoted-printable) will be based on this charset's `header_encoding`. :param string: A unicode string for the header. It must be possible to encode this string to bytes using the character set's output codec. :return: The encoded string, with RFC 2047 chrome. r)rKr=Ú _get_encoderÚ header_encode)rLr;r<Ú header_bytesÚencoder_modules r.r`zCharset.header_encodesT€ðÔ!Ð/ ZˆÝ˜v uÑ-Ô-ˆ à×*Ò*¨<Ñ8Ô8ˆØ Ð !؈MØ×+Ò+¨L¸%Ñ@Ô@Ð@r/có|—|jpd}t||¦«}| |¦«}t|j|¬¦«}| ¦«}t |¦«tz}g} g} t|¦«|z } |D]ë} |   | ¦«t  | ¦«} |  t| |¦«¦«}|| kr‘|   ¦«| s| s|   d¦«nN| rdnd}t  | ¦«}t||¦«}|   ||¦«¦«| g} t|¦«|z } Œìt  | ¦«}t||¦«}|   ||¦«¦«| S)afHeader-encode a string by converting it first to bytes. This is similar to `header_encode()` except that the string is fit into maximum line lengths as given by the argument. :param string: A unicode string for the header. It must be possible to encode this string to bytes using the character set's output codec. :param maxlengths: Maximum line length iterator. Each element returned from this iterator will provide the next maximum line length. This parameter is used as an argument to built-in next() and should never be exhausted. The maximum line lengths should not count the RFC 2047 chrome. These line lengths are only a hint; the splitter does the best it can. :return: Lines of encoded strings, each with RFC 2047 chrome. r)r*Nú r)rKr=r_rr`r]ÚlenÚRFC2047_CHROME_LENÚnextÚappendÚ EMPTYSTRINGÚjoinÚ header_lengthÚpop)rLr;Ú maxlengthsr<rarbÚencoderr*ÚextraÚlinesÚ current_lineÚmaxlenÚ characterÚ this_lineÚlengthÚ separatorÚ joined_lines r.Úheader_encode_lineszCharset.header_encode_lines%sÅ€ð$Ô!Ð/ ZˆÝ˜v uÑ-Ô-ˆ Ø×*Ò*¨<Ñ8Ô8ˆÝ˜.Ô6ÀÐFÑFÔFˆð×)Ò)Ñ+Ô+ˆÝ�G‘ ” Õ1Ñ1ˆðˆØˆ Ý�jÑ!Ô! EÑ)ˆØð 2ð 2ˆIØ × Ò   Ñ *Ô *Ð *Ý#×(Ò(¨Ñ6Ô6ˆIØ#×1Ò1µ'¸)ÀWÑ2MÔ2MÑNÔNˆFØ˜Šˆà× Ò Ñ"Ô"Ð"àð8 \ð8Ø—L’L Ñ&Ô&Ð&Ð&à(-Ð!5  °2�IÝ"-×"2Ò"2°<Ñ"@Ô"@�KÝ#*¨;¸Ñ#>Ô#>�LØ—L’L  ¨Ñ!6Ô!6Ñ7Ô7Ð7Ø )˜{� ݘjÑ)Ô)¨EÑ1�øÝ!×&Ò& |Ñ4Ô4ˆ ݘ{¨EÑ2Ô2ˆ Ø � Š �W�W˜\Ñ*Ô*Ñ+Ô+Ð+؈ r/cóN—|jtkr tjS|jtkr tjS|jt kr\tj |¦«}tj |¦«}||kr tjStjSdSrR)rHrGÚemailÚ base64mimerZÚ quoprimimer'rk)rLraÚlen64Úlenqps r.r_zCharset._get_encodercsŠ€Ø Ô ¥6Ò )Ð )ÝÔ#Ð #Ø Ô !¥RÒ 'Ð 'ÝÔ#Ð #Ø Ô !¥XÒ -Ð -ÝÔ$×2Ò2°<Ñ@Ô@ˆEÝÔ$×2Ò2°<Ñ@Ô@ˆEØ�uŠ}ˆ}ÝÔ'Ð'åÔ'Ð'à�4r/có,—|s|S|jturNt|t¦«r| |j¦«}t j |¦«S|jturct|t¦«r| |j¦«}|  d¦«}t j  |¦«St|t¦«r-| |j¦«  d¦«}|S)avBody-encode a string by converting it first to bytes. The type of encoding (base64 or quoted-printable) will be based on self.body_encoding. If body_encoding is None, we assume the output charset is a 7bit encoding, so re-encoding the decoded string using the ascii codec produces the correct string version of the content. Úlatin1r#) rIrGr@rAr:r-rzr{Ú body_encoderZÚdecoder|)rLr;s r.r�zCharset.body_encodersô€ðð ØˆMØ Ô ¥Ð 'Ð 'ݘ&¥#Ñ&Ô&ð <ØŸš tÔ':Ñ;Ô;�ÝÔ#×/Ò/°Ñ7Ô7Ð 7Ø Ô ¥2Ð %Ð %õ˜&¥#Ñ&Ô&ð <ØŸš tÔ':Ñ;Ô;�Ø—]’] 8Ñ,Ô,ˆFÝÔ#×/Ò/°Ñ7Ô7Ð 7å˜&¥#Ñ&Ô&ð LØŸš tÔ':Ñ;Ô;×BÒBÀ7ÑKÔK�؈Mr/N)Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚDEFAULT_CHARSETrPrTrWr[r]r`rxr_r�©r/r.rr¢sµ€€€€€ð*ð*ðV&5ð?ð?ð?ð?ðB*ð*ð*ð/ð/ð/ð"ð"ð"ð*9ð9ð9ðAðAðAð&<ð<ð<ð| ð ð ðððððr/r)Ú__all__Ú functoolsrÚemail.base64mimerzÚemail.quoprimimerÚemail.encodersr rZrGr'rfr‡r9rir)r1r5rrrr=rrˆr/r.úrŽsŠðð  ð ð €ðÐÐÐÐÐàÐÐÐØÐÐÐàÐÐÐÐÐØ)Ð)Ð)Ð)Ð)Ð)ð€Ø€Ø€ðÐà€Ø€ Ø€ ð à�B˜r¨Ð-ð ð�B˜r¨Ð-ð ð�B˜r¨Ð-ð  ð �B˜r¨Ð-ð  ð�B˜r¨Ð-ð ð�B˜r¨Ð-ð ð�B˜r¨Ð-ð ð�B˜r¨Ð-ð ð�B˜r¨Ð-ð ð �B˜r¨Ð-ð! ð"�B˜r¨Ð-ð# ð$ �B˜r¨Ð-ð% ð&Ð-ð' ð( �F˜v¨Ð-ð) ð* �F˜v¨Ð-ð+ ð, �F˜t¨ Ð6ð- ð.�F˜t¨ Ð6ð/ ð0˜t¨Ð-ؘv¨Ð-ؘv wÐ/ð5 ð ð €ð> Ø ˆ|ð à ˆ|ð ðˆ|ð ðˆ|ð  ð ˆ|ð  ð ˆ|ð  ðˆ|ð ðˆ|ð ðˆ|ð ðˆ|ð ðˆ}ð ðˆ}ð ðˆ}ð ðˆ}ð ðˆ}ð ð ˆ}ð! ð"ˆ}ð# ð$ØØØØØØð1 ð ð €ð<"Øðð  ð € ð?ð?ð?ð?ð8ððð#ð#ð#ð$ð$ð$ðmðmðmðmðmñmômðmðmðmr/