Ë
‚Ö¦i ã ó¨ — d Z g d¢ZdZdZdZdZ ddlmZmZ d „ Z
d
„ Zdd„Zdd„Z
dd
„Zdd„Zd„ Zd„ Zd„ Zedk( r e« yy# e $ r dZdZY Œ8w xY w)zHConversions to/from quoted-printable transport encoding as per RFC 1521.)ÚencodeÚdecodeÚencodestringÚdecodestringó =éL s 0123456789ABCDEFó é )Úa2b_qpÚb2a_qpNc óx — t | t « sJ ‚| dv r|S | dk( r|S | t k( xs d| cxk xr dk nc S )zìDecide whether a particular byte ordinal needs to be quoted.
The 'quotetabs' flag indicates whether embedded tabs and spaces should be
quoted. Note that line-ending tabs and spaces are always encoded, as per
RFC 1521.
ó ó _ó ó ~)Ú
isinstanceÚbytesÚESCAPE)ÚcÚ quotetabsÚheaders ú/usr/lib64/python3.12/quopri.pyÚneedsquotingr sI € ô �aœÔÐÐØˆF�{ØÐàˆD‚y؈
Ø”‰;Ò1˜t qÖ0¨DÔ0Ð1Ð1r c ó¨ — t | t « rt | « dk( sJ ‚t | « } t t t
| dz t
| dz f« z S )zQuote a single character.é é )r r ÚlenÚordr ÚHEX©r s r Úquoter $ sJ € ä�aœÔ¤C¨£F¨A¢IÐ-Ð-܈A‹€AÜ”Eœ3˜q "™u™:¤s¨1¨R©4¡yÐ1Ó2Ñ2Ð2r c ó€ — t �0| j « }t |||¬« }|j |« y|dfd„}d}| j « x}rág } d}
|dd dk( r|dd }d}
|D ]P }t |f« }t |||« rt
|« }|r|dk( r| j d« Œ@| j |« ŒR |� ||« t j | « }t |« t kD r3 ||dt d z
d
¬« |t d z
d }t |« t kD rŒ3|}| j « x}rŒá|� ||
¬« yy)av Read 'input', apply quoted-printable encoding, and write to 'output'.
'input' and 'output' are binary file objects. The 'quotetabs' flag
indicates whether embedded tabs and spaces should be quoted. Note that
line-ending tabs and spaces are always encoded, as per RFC 1521.
The 'header' flag indicates whether we are encoding spaces as _ as per RFC
1522.N©r r ó
c óÒ — | r.| dd dv r'|j | d d t | dd « z |z « y | dk( r|j t | « |z « y |j | |z « y )Néÿÿÿÿr
ó .)Úwriter )ÚsÚoutputÚlineEnds r r' zencode.