/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.pyc224170644editdlrm
generator.cpython-311.opt-2.pyc187420644editdlrm
generator.cpython-311.pyc224170644editdlrm
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.pyc590520644editdlrm
message.cpython-311.opt-2.pyc427650644editdlrm
message.cpython-311.pyc590520644editdlrm
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.pyc1505680644editdlrm
_header_value_parser.cpython-311.opt-2.pyc1340180644editdlrm
_header_value_parser.cpython-311.pyc1506540644editdlrm
_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__/quoprimime.cpython-311.opt-1.pyc (11251B)
/g&dZgdZddlZddlmZmZmZdZdZdZ de d DZ e ddZ e ddZ d ejd zejd zD]Zeee e<d e ed <dD]Zeee e<dZdZdZdZddZdZdZddZe ddZdD]Zeeee<[defdZefdZeZeZdZdZ dS) 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  cg|]}d|zS)z=%02X).0cs 7/opt/alt/python311/lib64/python3.11/email/quoprimime.py r7s///qw{///s-!*+/ascii_ s_ !"#$%&'()*+,-./0123456789:;<>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ c>t|t|kS)z>Return True if the octet should be escaped with header quopri.)chr_QUOPRI_HEADER_MAPoctets r header_checkr#Js u::+E2 22rc>t|t|kS)zz header_length..^s0EE%s%e,--EEEEEErsum bytearrays rr r Ts! EE9EEE E EErc4td|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. c3JK|]}tt|VdSr))r*r%r+s rr,zbody_length..hs0CCs#E*++CCCCCCrr-r/s rrras! CCCCC C CCrcnt|tst|}|s)||dSt |dt |z|kr|dxx||zz cc<dS||dS)N) isinstancestrrappendlstripr*)Lsmaxlenextras r _max_appendr=ks a   FF   QrUc!ff  & & " rcLtt|dddS)zDTurn a string in the form =AB to the ASCII character with value 0xab)rintr:s rr r vs s1QqS62  rc6tt|Sr)) _QUOPRI_MAPord)rs rr r {s s1vv r iso-8859-1cv|sdS|dt}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 rrrsJ r!!(++556HIIGG$GGWWW --rs LcH|dkrtd|s|S|t}d|z}|dz }g}|j}|D]}d}t |dz |z } || krv||z} || dz dkr|||| dz | dz }n@|| dz dkr|||| | dz }n|||| dz| }|| kv|rm|ddvrc|| z } | d krt |d} n*| dkr |d|z} n|t |dz} |||d| z|||d |dtvr |d ||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 r4z r@Nr) ValueErrorrJ_QUOPRI_BODY_ENCODE_MAPr7 splitlinesr*r CRLFjoin) body maxlineleneol soft_break maxlinelen1 encoded_bodyr7linestart laststartstoproomqs rrrs&A~~8999   >>1 2 2DsJq.KL  F!!!!!!IIMJ. y  ;&DD1H~$$tE$(N+,,,qdQh3&&tE$J'(((qtE$J'#-...y    !DH%%9$Dqyy$r(OOHz)tBx0 F4b>A% & & & & F4<  Bx4r 88L ! !!rc|s|Sd}|D]}|}|s||z }d}t|}||kr||}|dkr ||z }|dz }ni|dz|kr|dz }.|dz|krG||dztvr5||dztvr#|t |||dzz }|dz }n ||z }|dz }||kr||z }||k|ddvr||r |d d}|S) z_Decode a quoted-printable string. Lines are separated with eol, which defaults to \n. rr rQr?rRr@r4rN)rUrstripr*rr endswith)rMrZdecodedr^inrs rrrsp G""$${{}}  sNG   II!eeQACxx1 Q1Q1qT!A#Y)33QqS Y8N8N74!A#;///Q1 QAvv3)!ee,r{&  W%5%5c%:%: #2#, NrcJ|d}t|S)zCTurn a match in the form =AB to the ASCII character with value 0xabr )groupr )matchr:s r_unquote_matchrms AA 1::rc||dd}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)replaceresubrmASCIIrCs rrr$s3 #sA 6$narx H H HHr)r)rG)!__doc____all__rqstringr rrrVNL EMPTYSTRINGrangerEr r%encoderrrFr#r&r rr=r r rrTrrrrrmrrrrr{sJ 0    3333333333   0/EE#JJ///  ^qqq> (M(11 1MFM'4J4J J##ACFFq"33s88 .!!A#a&&Q 333 111 F F FDDD   ....*+111- ((A!$QA!#I"I"I"I"^,,,,`  IIIIIr