Your IP : 3.149.244.92
��Yfa � @ 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 � d S)zHConversions to/from quoted-printable transport encoding as per RFC 1521.�encode�decode�encodestring�decodestring� =�L s 0123456789ABCDEF� � )�a2b_qp�b2a_qpNc C s\ t | t � s t � | d k r% | S| d k r5 | S| t k p[ d | k oX d k n 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.
s � _� � ~)�
isinstance�bytes�AssertionError�ESCAPE)�c� quotetabs�header� r �+/opt/alt/python35/lib64/python3.5/quopri.py�needsquoting s r c C sW t | t � r! t | � d k s'