Current Path : /usr/lib/python2.7/ |
Current File : //usr/lib/python2.7/quopri.pyc |
ó —|_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 ri d Z d Z n Xd „ Z d „ Z d d „ Z d d d „ Z d d „ Z d d „ Z d „ Z d „ Z d „ Z e d k rà e ƒ n d S( sH Conversions to/from quoted-printable transport encoding as per RFC 1521.t encodet decodet encodestringt decodestringt =iL t 0123456789ABCDEFt iÿÿÿÿ( t a2b_qpt b2a_qpc C sG | d k r | S| d k r | S| t k pF d | k oC d k n S( sé Decide whether a particular character 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 t _t t ~( t ESCAPE( t ct quotetabst header( ( s /usr/lib/python2.7/quopri.pyt needsquoting s c C s( t | ƒ } t t | d t | d S( s Quote a single character.i ( t ordR t HEX( R t i( ( s /usr/lib/python2.7/quopri.pyt quote# s i c C s’ t d k rA | j ƒ } t | d | d | ƒ} | j | ƒ d S| d d „ } d } x| j ƒ } | so Pn g } d } | d d k rž | d } d } n x^ | D]V } t | | | ƒ rÌ t | ƒ } n | rî | d k rî | j d ƒ q¥ | j | ƒ q¥ W| d k r| | ƒ n t j | ƒ } x<