/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__/base64mime.cpython-311.pyc (4371B)
!A?h fdZgdZddlmZddlmZmZdZdZdZ dZ d Z dd Z d efd Z dZeZeZdS)aBase64 content transfer encoding per RFCs 2045-2047. This module handles the content transfer encoding method defined in RFC 2045 to encode arbitrary 8-bit data using the three 8-bit bytes in four 7-bit characters encoding known as Base64. It is used in the MIME standards for email to attach images, audio, and text using some 8-bit character sets to messages. This module provides an interface to encode and decode both headers and bodies with Base64 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_encodedecode decodestring header_encode header_length) b64encode) b2a_base64 a2b_base64z  c^tt|d\}}|dz}|r|dz }|S)z6Return the length of s when it is encoded with base64.)divmodlen) bytearray groups_of_3leftoverns =/opt/alt/python-internal/lib64/python3.11/email/base64mime.pyrr1s;"3y>>155KaA Q H iso-8859-1c|sdSt|tr||}t|d}d|d|dS)zEncode a single header line with Base64 encoding in a given charset. charset names the character set to use to encode the header. It defaults to iso-8859-1. Base64 encoding is defined in RFC 2045. r asciiz=?z?b?z?=) isinstancestrencoder r) header_bytescharsetencodeds rrr;sf r,$$4#**733  %%,,W55GG#GGWWW --rLc||sdSg}|dzdz}tdt||D]v}t||||zd}|t r|t kr |dd|z}||wt|S)a1Encode a string with base64. Each line will be wrapped at, at most, maxlinelen characters (defaults to 76 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. r rrrrN) rangerr rendswithNLappend EMPTYSTRINGjoin)s maxlineleneolencvec max_unencodediencs rrrIs r FNa'M 1c!ffm , ,1Q../0077@@ <<   !r crc(S.C c   F # ##rc|stSt|tr"t|dSt|S)zDecode a raw base64 string, returning a bytes object. This function does not parse a full MIME header value encoded with base64 (like =?iso-8859-1?b?bmloISBuaWgh?=) -- please use the high level email.header class for that functionality. zraw-unicode-escape)bytesrrr r)strings rrrbsP "ww FC "&--(<==>>>&!!!rN)r)__doc____all__base64r binasciir r CRLFr(r*MISC_LENrrrrrrrrr=s ,   ++++++++        . . . .!b$$$$2 " " "   r