/usr/lib64/python3.12/email/__pycache__
NameSizeModeActions
base64mime.cpython-312.opt-1.pyc39470644editdlrm
base64mime.cpython-312.opt-2.pyc22010644editdlrm
base64mime.cpython-312.pyc39470644editdlrm
charset.cpython-312.opt-1.pyc151780644editdlrm
charset.cpython-312.opt-2.pyc89120644editdlrm
charset.cpython-312.pyc152450644editdlrm
contentmanager.cpython-312.opt-1.pyc123640644editdlrm
contentmanager.cpython-312.opt-2.pyc123640644editdlrm
contentmanager.cpython-312.pyc123640644editdlrm
encoders.cpython-312.opt-1.pyc20910644editdlrm
encoders.cpython-312.opt-2.pyc17660644editdlrm
encoders.cpython-312.pyc20910644editdlrm
errors.cpython-312.opt-1.pyc70230644editdlrm
errors.cpython-312.opt-2.pyc55300644editdlrm
errors.cpython-312.pyc70230644editdlrm
feedparser.cpython-312.opt-1.pyc196090644editdlrm
feedparser.cpython-312.opt-2.pyc179840644editdlrm
feedparser.cpython-312.pyc198000644editdlrm
generator.cpython-312.opt-1.pyc212340644editdlrm
generator.cpython-312.opt-2.pyc175770644editdlrm
generator.cpython-312.pyc212340644editdlrm
header.cpython-312.opt-1.pyc245110644editdlrm
header.cpython-312.opt-2.pyc189370644editdlrm
header.cpython-312.pyc245110644editdlrm
headerregistry.cpython-312.opt-1.pyc309130644editdlrm
headerregistry.cpython-312.opt-2.pyc253370644editdlrm
headerregistry.cpython-312.pyc309670644editdlrm
iterators.cpython-312.opt-1.pyc28010644editdlrm
iterators.cpython-312.opt-2.pyc22110644editdlrm
iterators.cpython-312.pyc28010644editdlrm
message.cpython-312.opt-1.pyc531110644editdlrm
message.cpython-312.opt-2.pyc368500644editdlrm
message.cpython-312.pyc531110644editdlrm
parser.cpython-312.opt-1.pyc67480644editdlrm
parser.cpython-312.opt-2.pyc37790644editdlrm
parser.cpython-312.pyc67480644editdlrm
policy.cpython-312.opt-1.pyc118040644editdlrm
policy.cpython-312.opt-2.pyc56450644editdlrm
policy.cpython-312.pyc118040644editdlrm
quoprimime.cpython-312.opt-1.pyc99520644editdlrm
quoprimime.cpython-312.opt-2.pyc65450644editdlrm
quoprimime.cpython-312.pyc99520644editdlrm
utils.cpython-312.opt-1.pyc159720644editdlrm
utils.cpython-312.opt-2.pyc127650644editdlrm
utils.cpython-312.pyc159720644editdlrm
_encoded_words.cpython-312.opt-1.pyc83080644editdlrm
_encoded_words.cpython-312.opt-2.pyc64410644editdlrm
_encoded_words.cpython-312.pyc83080644editdlrm
_header_value_parser.cpython-312.opt-1.pyc1338720644editdlrm
_header_value_parser.cpython-312.opt-2.pyc1172800644editdlrm
_header_value_parser.cpython-312.pyc1339340644editdlrm
_parseaddr.cpython-312.opt-1.pyc232470644editdlrm
_parseaddr.cpython-312.opt-2.pyc204080644editdlrm
_parseaddr.cpython-312.pyc232470644editdlrm
_policybase.cpython-312.opt-1.pyc186360644editdlrm
_policybase.cpython-312.opt-2.pyc95140644editdlrm
_policybase.cpython-312.pyc186360644editdlrm
__init__.cpython-312.opt-1.pyc19210644editdlrm
__init__.cpython-312.opt-2.pyc13280644editdlrm
__init__.cpython-312.pyc19210644editdlrm
Edit: /usr/lib64/python3.12/email/__pycache__/_encoded_words.cpython-312.pyc (8308B)
{|j]!2dZddlZddlZddlZddlZddlmZmZddlm Z gdZ ejejdjdZdZGd d eZeZd eed <d ZdZdZdZdZeedZdZeedZeedZddZy)z Routines for manipulating RFC2047 encoded words. This is currently a package-private API, but will be considered for promotion to a public API if there is demand. N) ascii_lettersdigits)errors)decode_qencode_qdecode_bencode_blen_qlen_bdecodeencodes=([a-fA-F0-9]{2})cftj|jdjS)N)bytesfromhexgroupr )ms -/usr/lib64/python3.12/email/_encoded_words.pyrAs%-- 1 1 34c@|jdd}t|gfS)N_ )replace_q_byte_subber)encodeds rrrCs"oodD)G ' "B &&rcbeZdZdejdzejdzZdZy) _QByteMaps-!*+/asciicv||jvrt|||<||Sdj|||<||S)Nz={:02X})safechrformat)selfkeys r __missing__z_QByteMap.__missing__MsG $)) CDICy"((-DICyrN)__name__ __module__ __qualname__rr rr!r&rrrrIs/ *m**73 3mfmmG6L LDrr_ c2djd|DS)Nc3.K|] }t|ywN) _q_byte_map.0xs r zencode_q..Zs37a;q>7s)joinbstrings rrrYs 77373 33rc&td|DS)Nc3@K|]}tt|ywr0)lenr1r2s rr5zlen_q..]s4Gqs;q>"Gs)sumr7s rr r \s 4G4 44rcPt|dz}|rddd|z nd} tj||zd|rtjgfSgfS#t j $r tj|dtjgfcYS#t j $r| tj|dzdtjtjgfcYcYS#t j $r|tjgfcYcYcYSwxYwwxYwwxYw)Ns===rT)validateFs==) r;base64 b64decoderInvalidBase64PaddingDefectbinasciiErrorInvalidBase64CharactersDefectInvalidBase64LengthDefect)rpad_errmissing_paddings rrrds7'lQG,3fZai(OE   W6 F5>E  E  595578 ~~ E E$$Wu_uE99;668: >> E !A!A!C DDD  E EEsZ0A AD%$+BD%D!&AC,'D!(D%,*DD!D%DD!!D%cJtj|jdS)Nr)r@ b64encoder r7s rr r s   G $ + +G 44rcNtt|d\}}|dz|rdzSdzS)Nr>r)divmodr;)r8 groups_of_3leftovers rr r s0"3w<3K ?8a 33 33r)qbc<|jd\}}}}}|jd\}}}|j}|jdd}t ||\}} |j |}||||fS#t $r=|jtjd|d|j |d}YKttf$rP|j dd}|jdk7r(|jtjd|d YwxYw) aDecode encoded word and return (string, charset, lang, defects) tuple. An RFC 2047/2243 encoded word has the form: =?charset*lang?cte?encoded_string?= where '*lang' may be omitted but the other parts may not be. This function expects exactly such a string (that is, it does not check the syntax and may raise errors if the string is not well formed), and returns the encoded_string decoded first from its Content Transfer Encoding and then from the resulting bytes into unicode using the specified charset. If the cte-decoded string does not successfully decode using the specified character set, a defect is added to the defects list and the unknown octets are replaced by the unicode 'unknown' character \uFDFF. The specified charset and language are returned. The default for language, which is rarely if ever encountered, is the empty string. ?*rsurrogateescapez0Encoded word contains bytes not decodable using z charset unknown-8bitzUnknown charset z* in encoded word; decoded as unknown bytes) split partitionlowerr _cte_decodersr UnicodeDecodeErrorappendrUndecodableBytesDefect LookupErrorUnicodeEncodeError CharsetError) ewr+charsetcte cte_stringlangr8defectsstrings rr r s1*&(XXc]"AwZ((-GQ ))+C):;G$S)'2GW ?( 7D' )) <v446229H6FG H):; + ,?):; ==?n , NN6..1A'M<0=> ??s!A88AD=ADDc|dk(r|jdd}n|j|}|(td|}td|}||z dkrdnd}t||}|rd|z}dj||||S) aEncode string using the CTE encoding that produces the shorter result. Produces an RFC 2047/2243 encoded word of the form: =?charset*lang?cte?encoded_string?= where '*lang' is omitted unless the 'lang' parameter is given a value. Optional argument charset (defaults to utf-8) specifies the charset to use to encode the string to binary before CTE encoding it. Optional argument 'encoding' is the cte specifier for the encoding that should be used ('q' or 'b'); if it is None (the default) the encoding which produces the shortest encoded sequence is used, except that 'q' is preferred if it is up to five characters longer. Optional argument 'lang' (default '') gives the RFC 2243 language string to specify in the encoded word. rVrrUrPrQrTz=?{}{}?{}?{}?=)r _cte_encode_length _cte_encodersr#)rgrbencodingrer8qlenblenrs rr r s". --):;--(!#&w/!#&w/+/3sH%g.G Tz  " "7D(G DDr)zutf-8Nr.)__doc__rer@rC functoolsrgrremailr__all__partialcompilesubrrdictrr1ordrr rr r rZr rkrjr r*rrrysR ( #"":2::.C#D#H#H46'  k  CH45$EL54   '*V     Er