Your IP : 18.226.34.148


Current Path : /opt/alt/python33/lib64/python3.3/email/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/email/__pycache__/encoders.cpython-33.pyc

�
��f�c@sxdZddddgZddlmZddlmZdd	�Zd
d�Z	dd�Z
dd�Zd
d�ZdS(u Encodings and related functions.uencode_7or8bitu
encode_base64uencode_noopu
encode_quoprii(uencodebytes(uencodestringcCs"t|dd�}|jdd�S(Nu	quotetabss s=20T(u
_encodestringuTrueureplace(usuenc((u3/opt/alt/python33/lib64/python3.3/email/encoders.pyu_qencodesu_qencodecCsB|jdd�}tt|�d�}|j|�d|d<dS(ulEncode the message's payload in Base64.

    Also, add an appropriate Content-Transfer-Encoding header.
    udecodeuasciiubase64uContent-Transfer-EncodingNT(uget_payloaduTrueustru_bencodeuset_payload(umsguoriguencdata((u3/opt/alt/python33/lib64/python3.3/email/encoders.pyu
encode_base64s
cCs9|jdd�}t|�}|j|�d|d<dS(uvEncode the message's payload in quoted-printable.

    Also, add an appropriate Content-Transfer-Encoding header.
    udecodeuquoted-printableuContent-Transfer-EncodingNT(uget_payloaduTrueu_qencodeuset_payload(umsguoriguencdata((u3/opt/alt/python33/lib64/python3.3/email/encoders.pyu
encode_quopri&s
cCs�|jdd�}|dkr,d|d<dSy0t|t�rN|jd�n
|jd�Wn_tk
r�|j�}|o�|j	}|r�|j
�jd�r�d|d<n
d|d<YnXd|d<dS(	u9Set the Content-Transfer-Encoding header to 7bit or 8bit.udecodeu7bituContent-Transfer-EncodingNuasciiu	iso-2022-u8bitT(uget_payloaduTrueuNoneu
isinstanceustruencodeudecodeuUnicodeErroruget_charsetuoutput_charsetuloweru
startswith(umsguorigucharsetuoutput_cset((u3/opt/alt/python33/lib64/python3.3/email/encoders.pyuencode_7or8bit2s


cCsdS(uDo nothing.N((umsg((u3/opt/alt/python33/lib64/python3.3/email/encoders.pyuencode_noopMsN(
u__doc__u__all__ubase64uencodebytesu_bencodeuquopriuencodestringu
_encodestringu_qencodeu
encode_base64u
encode_quopriuencode_7or8bituencode_noop(((u3/opt/alt/python33/lib64/python3.3/email/encoders.pyu<module>s	

?>