|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21571/root/usr/lib64/python2.4/encodings/ |
Upload File : |
mō
=5Dc @ s d Z d k Z d k Z y d k l Z Wn e j
o d k l Z n Xd d Z d d Z d e i f d YZ d e e i f d YZ d
e e i
f d YZ
d Z d S(
sg Codec for quoted-printable encoding.
Like base64 and rot13, this returns Python strings, not Unicode.
N( s StringIOt strictc C sX | d j p t t | } t } t i | | d | i } | t
| f S( sę Encode the input, returning a tuple (output object, length consumed).
errors defines the error handling to apply. It defaults to
'strict' handling which is the only currently supported
error handling for this codec.
R i N( t errorst AssertionErrort StringIOt inputt ft gt quoprit encodet getvaluet outputt len( R R R R R
( ( t. /usr/lib64/python2.4/encodings/quopri_codec.pyt
quopri_encode s c C sU | d j p t t | } t } t i | | | i } | t
| f S( sę Decode the input, returning a tuple (output object, length consumed).
errors defines the error handling to apply. It defaults to
'strict' handling which is the only currently supported
error handling for this codec.
R N( R R R R R R R t decodeR R
R ( R R R R R
( ( R t
quopri_decode s t Codecc B s t Z d d Z d d Z RS( NR c C s
t | | S( N( R
R R ( t selfR R ( ( R R , s c C s
t | | S( N( R R R ( R R R ( ( R R . s ( t __name__t
__module__R R ( ( ( R R * s t StreamWriterc B s t Z RS( N( R R ( ( ( R R 1 s t StreamReaderc B s t Z RS( N( R R ( ( ( R R 4 s c C s t t t t f S( N( R
R R R ( ( ( R t getregentry9 s ( t __doc__t codecsR t cStringIOR t ImportErrorR
R R R R R ( R R
R R R R R R R ( ( R t ? s