Your IP : 18.118.1.100
�
��f� c @ s d Z d d d d g Z d Z d Z d Z d Z y d d
l m Z m Z Wn e k
rj d Z d Z Yn Xd d � Z d
d � Z d d d � Z d d d d � Z d d d � Z d d d � Z d d � Z d d � Z d d � Z e d k r� e � n d S( uH Conversions to/from quoted-printable transport encoding as per RFC 1521.u encodeu decodeu encodestringu decodestrings =iL s 0123456789ABCDEFs i ( u a2b_qpu b2a_qpc C s\ t | t � s t � | d k r% | S| d k r5 | S| t k p[ d | k oX d k n S( u� 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.
s s _s s ~( u
isinstanceu bytesu AssertionErroru ESCAPE( u cu quotetabsu header( ( u+ /opt/alt/python33/lib64/python3.3/quopri.pyu needsquoting s u needsquotingc C sW t | t � r! t | � d k s'