/opt/alt/python-internal/lib64/python3.11/email/__pycache__
NameSizeModeActions
base64mime.cpython-311.opt-1.pyc43710644editdlrm
base64mime.cpython-311.opt-2.pyc26200644editdlrm
base64mime.cpython-311.pyc43710644editdlrm
charset.cpython-311.opt-1.pyc159800644editdlrm
charset.cpython-311.opt-2.pyc97090644editdlrm
charset.cpython-311.pyc160410644editdlrm
contentmanager.cpython-311.opt-1.pyc138500644editdlrm
contentmanager.cpython-311.opt-2.pyc138500644editdlrm
contentmanager.cpython-311.pyc138500644editdlrm
encoders.cpython-311.opt-1.pyc24060644editdlrm
encoders.cpython-311.opt-2.pyc20770644editdlrm
encoders.cpython-311.pyc24060644editdlrm
errors.cpython-311.opt-1.pyc86840644editdlrm
errors.cpython-311.opt-2.pyc70890644editdlrm
errors.cpython-311.pyc86840644editdlrm
feedparser.cpython-311.opt-1.pyc213130644editdlrm
feedparser.cpython-311.opt-2.pyc196720644editdlrm
feedparser.cpython-311.pyc215130644editdlrm
generator.cpython-311.opt-1.pyc224230644editdlrm
generator.cpython-311.opt-2.pyc187480644editdlrm
generator.cpython-311.pyc224230644editdlrm
header.cpython-311.opt-1.pyc269960644editdlrm
header.cpython-311.opt-2.pyc214190644editdlrm
header.cpython-311.pyc269960644editdlrm
headerregistry.cpython-311.opt-1.pyc337060644editdlrm
headerregistry.cpython-311.opt-2.pyc281120644editdlrm
headerregistry.cpython-311.pyc337720644editdlrm
iterators.cpython-311.opt-1.pyc31830644editdlrm
iterators.cpython-311.opt-2.pyc25900644editdlrm
iterators.cpython-311.pyc31830644editdlrm
message.cpython-311.opt-1.pyc590580644editdlrm
message.cpython-311.opt-2.pyc427710644editdlrm
message.cpython-311.pyc590580644editdlrm
parser.cpython-311.opt-1.pyc74040644editdlrm
parser.cpython-311.opt-2.pyc44320644editdlrm
parser.cpython-311.pyc74040644editdlrm
policy.cpython-311.opt-1.pyc125620644editdlrm
policy.cpython-311.opt-2.pyc63870644editdlrm
policy.cpython-311.pyc125620644editdlrm
quoprimime.cpython-311.opt-1.pyc112570644editdlrm
quoprimime.cpython-311.opt-2.pyc78450644editdlrm
quoprimime.cpython-311.pyc112570644editdlrm
utils.cpython-311.opt-1.pyc193310644editdlrm
utils.cpython-311.opt-2.pyc157900644editdlrm
utils.cpython-311.pyc193310644editdlrm
_encoded_words.cpython-311.opt-1.pyc91370644editdlrm
_encoded_words.cpython-311.opt-2.pyc72640644editdlrm
_encoded_words.cpython-311.pyc91370644editdlrm
_header_value_parser.cpython-311.opt-1.pyc1505740644editdlrm
_header_value_parser.cpython-311.opt-2.pyc1340240644editdlrm
_header_value_parser.cpython-311.pyc1506600644editdlrm
_parseaddr.cpython-311.opt-1.pyc243200644editdlrm
_parseaddr.cpython-311.opt-2.pyc214670644editdlrm
_parseaddr.cpython-311.pyc243200644editdlrm
_policybase.cpython-311.opt-1.pyc197210644editdlrm
_policybase.cpython-311.opt-2.pyc105740644editdlrm
_policybase.cpython-311.pyc197210644editdlrm
__init__.cpython-311.opt-1.pyc21300644editdlrm
__init__.cpython-311.opt-2.pyc15340644editdlrm
__init__.cpython-311.pyc21300644editdlrm
Edit: /opt/alt/python-internal/lib64/python3.11/email/__pycache__/quoprimime.cpython-311.pyc (11257B)
!A?h&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 =/opt/alt/python-internal/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