/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__/quoprimime.cpython-312.opt-1.pyc (9952B)
{|j&dZgdZddlZddlmZmZmZdZdZdZ e dDcgc]}d |z c}Z e ddZ e ddZ d ejd zejd zD] Zeee e<d e ed <dD] Zeee e<dZdZdZdZddZdZdZddZe ddZdD] Zeeee<[defdZefdZeZeZdZdZ ycc}w)aFQuoted-printable content transfer encoding per RFCs 2045-2047. This module handles the content transfer encoding method defined in RFC 2045 to encode US ASCII-like 8-bit data called `quoted-printable'. It is used to safely encode text that is in a character set similar to the 7-bit US ASCII character set, but that includes some 8-bit characters that are normally not allowed in email bodies or headers. Quoted-printable is very space-inefficient for encoding binary files; use the email.base64mime module for that instead. This module provides an interface to encode and decode both headers and bodies with quoted-printable encoding. RFC 2045 defines a method for including character set information in an `encoded-word' in a header. This method is commonly used for 8-bit real names in To:/From:/Cc: etc. fields, as well as Subject: lines. This module does not do the line wrapping or end-of-line character conversion necessary for proper internationalized headers; it only does dumb encoding and decoding. To deal with the various line wrapping issues, use the email.header module. ) body_decode body_encode body_lengthdecode decodestring header_decode header_encode header_lengthquoteunquoteN) ascii_lettersdigits hexdigits  z=%02Xs-!*+/ascii_ s_ !"#$%&'()*+,-./0123456789:;<>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ c,t|t|k7S)z>Return True if the octet should be escaped with header quopri.)chr_QUOPRI_HEADER_MAPoctets )/usr/lib64/python3.12/email/quoprimime.py header_checkrJs u:+E2 22c,t|t|k7S)zz header_length..^sE9%s%e,-9sum bytearrays rr r Ts E9E EErc&td|DS)zReturn a body quoted-printable encoding length. :param bytearray: An array of bytes (a.k.a. octets). :return: The length in bytes of the byte array when it is encoded with quoted-printable for bodies. c3@K|]}tt|ywr$)r%r r&s rr(zbody_length..hsCs#E*+r)r*r,s rrras CC CCrct|ts t|}|s |j|j yt |dt |z|kr|dxx||zz cc<y|j|j y)N) isinstancestrrappendlstripr%)Lsmaxlenextras r _max_appendr:ksg a  F   QrUc!f  & " rc2tt|dddS)zDTurn a string in the form =AB to the ASCII character with value 0xab)rintr7s rr r vs s1Qq62 rc&tt|Sr$) _QUOPRI_MAPordcs rr r {s s1v rcb|sy|jdjt}d|d|dS)aEncode a single header line with quoted-printable (like) encoding. Defined in RFC 2045, this `Q' encoding is similar to quoted-printable, but used specifically for email header fields to allow charsets with mostly 7 bit characters (and some 8 bit) to remain more or less readable in non-RFC 2045 aware mail clients. charset names the character set to use in the RFC 2046 header. It defaults to iso-8859-1. rlatin1z=?z?q?z?=)r translater) header_bytescharsetencodeds rrrs3 !!(+556HIG$W --rs Lc|dkr td|s|S|jt}d|z}|dz }g}|j}|j D]}d}t |dz |z } || krV||z} || dz dk(r|||| dz | dz }n,|| dz dk(r|||| | dz }n|||| dz| }|| krV|rN|ddvrG|| z } | d k\rt |d} n| dk(r |d|z} n|t |dz} |||d| z|||d |dtvr|d |j|S) aEncode with quoted-printable, wrapping at maxlinelen characters. Each line of encoded text will end with eol, which defaults to "\n". Set this to "\r\n" if you will be using the result of this function directly in an email. Each line will be wrapped at, at most, maxlinelen characters before the eol string (maxlinelen defaults to 76 characters, the maximum value permitted by RFC 2045). Long lines will have the 'soft line break' quoted-printable character "=" appended to them, so the decoded text will be identical to the original text. The minimum maxlinelen is 4 to have room for a quoted character ("=XX") followed by a soft line break. Smaller values will generate a ValueError. zmaxlinelen must be at least 4=r<r r1z r=Nr) ValueErrorrH_QUOPRI_BODY_ENCODE_MAPr4 splitlinesr%r CRLFjoin) body maxlineleneol soft_break maxlinelen1 encoded_bodyr4linestart laststartstoproomqs rrrs&A~899   >>1 2DsJq.KL  F!IMJ. y ;&DD1H~$tE$(+,qdQh3&tE$'(qtE$'#-.y  DH%9$Dqy$r(OHz)tBx0 4b>A% & 4< C"H Bx4r 88L !!rc|s|Sd}|jD]}|j}|s||z }d}t|}||ks.||}|dk7r ||z }|dz }nV|dz|k(r|dz })|dz|kr6||dztvr(||dztvr|t |||dzz }|dz }n ||z }|dz }||k(r||z }||kr{|ddvr|j |r|d d}|S) z_Decode a quoted-printable string. Lines are separated with eol, which defaults to \n. rr rOr<rPr=r1rN)rSrstripr%rr endswith)rKrXdecodedr\inrEs rrrs3 G""${{} sNG   I!eQACx1 Q1Q1qT!A#Y)3QqS Y8N74!A#;//Q1 QAv3)!e%<r{& W%5%5c%:#2, Nrc:|jd}t|S)zCTurn a match in the form =AB to the ASCII character with value 0xabr )groupr )matchr7s r_unquote_matchrks AA 1:rc||jdd}tjdt|tjS)aDecode a string encoded with RFC 2045 MIME header `Q' encoding. This function does not parse a full MIME header value encoded with quoted-printable (like =?iso-8859-1?q?Hello_World?=) -- please use the high level email.header class for that functionality. rrz=[a-fA-F0-9]{2})flags)replaceresubrkASCIIr@s rrr$s. #sA 66$narxx HHr)r)z iso-8859-1)!__doc____all__rostringr rrrTNL EMPTYSTRINGrangerBrr encoderErrCrr!r rr:r r rrRrrrrrkrrDs0rrysQ 0  33   %*#J/Jqw{J/  ^q> (M((1 1MFMM'4J JAFq K #3s8 .Aa&Q .3 1 FD .*+1- A!$QA !#I"^,`  I[0s C