/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__/base64mime.cpython-311.pyc (4365B)
/g 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 7/opt/alt/python311/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