ok

Mini Shell

Direktori : /proc/self/root/opt/alt/python33/lib64/python3.3/encodings/__pycache__/
Upload File :
Current File : //proc/self/root/opt/alt/python33/lib64/python3.3/encodings/__pycache__/uu_codec.cpython-33.pyc

�
oyMa�
c@s�dZddlZddlZddlmZddddd�Zdd	d
�ZGdd�dej�ZGd
d�dej�ZGdd�dej	�Z	Gdd�deej
�Z
Gdd�deej�Zdd�ZdS(uPython 'uu_codec' Codec - UU content transfer encoding.

This codec de/encodes from bytes to bytes.

Written by Marc-Andre Lemburg (mal@lemburg.com). Some details were
adapted from uu.py which was written by Lance Ellinghouse and
modified by Jack Jansen and Fredrik Lundh.
iN(uBytesIOustrictu<data>i�c	Cs�|dkst�t|�}t�}|j}|j}|d|d@|fjd��|d�}x)|r�|tj|��|d�}qiW|d�|j�t|�fS(Nustrictubegin %o %s
i�uasciii-s 
end
(	uAssertionErroruBytesIOureaduwriteuencodeubinasciiub2a_uuugetvalueulen(	uinputuerrorsufilenameumodeuinfileuoutfileureaduwriteuchunk((u7/opt/alt/python33/lib64/python3.3/encodings/uu_codec.pyu	uu_encodes			!	
u	uu_encodec
CsM|dkst�t|�}t�}|j}|j}x;|�}|sZtd��n|dd�dkr<Pq<q<x�|�}|s�|dkr�Pnytj|�}Wnetjk
r}zBt|d�dd@d	dd
}	tj|d|	��}WYdd}~XnX||�qz|s7td��n|j	�t
|�fS(Nustrictu"Missing "begin" line in input dataisbeginsend
ii i?iiuTruncated input data(uAssertionErroruBytesIOureadlineuwriteu
ValueErrorubinasciiua2b_uuuErroruordugetvalueulen(
uinputuerrorsuinfileuoutfileureadlineuwriteusudatauvunbytes((u7/opt/alt/python33/lib64/python3.3/encodings/uu_codec.pyu	uu_decode!s0					$,
u	uu_decodecBs2|EeZdZddd�Zddd�ZdS(uCodecustrictcCs
t||�S(N(u	uu_encode(uselfuinputuerrors((u7/opt/alt/python33/lib64/python3.3/encodings/uu_codec.pyuencodeCsuCodec.encodecCs
t||�S(N(u	uu_decode(uselfuinputuerrors((u7/opt/alt/python33/lib64/python3.3/encodings/uu_codec.pyudecodeFsuCodec.decodeN(u__name__u
__module__u__qualname__uencodeudecode(u
__locals__((u7/opt/alt/python33/lib64/python3.3/encodings/uu_codec.pyuCodecBsuCodeccBs#|EeZdZddd�ZdS(uIncrementalEncodercCst||j�dS(Ni(u	uu_encodeuerrors(uselfuinputufinal((u7/opt/alt/python33/lib64/python3.3/encodings/uu_codec.pyuencodeJsuIncrementalEncoder.encodeNF(u__name__u
__module__u__qualname__uFalseuencode(u
__locals__((u7/opt/alt/python33/lib64/python3.3/encodings/uu_codec.pyuIncrementalEncoderIsuIncrementalEncodercBs#|EeZdZddd�ZdS(uIncrementalDecodercCst||j�dS(Ni(u	uu_decodeuerrors(uselfuinputufinal((u7/opt/alt/python33/lib64/python3.3/encodings/uu_codec.pyudecodeNsuIncrementalDecoder.decodeNF(u__name__u
__module__u__qualname__uFalseudecode(u
__locals__((u7/opt/alt/python33/lib64/python3.3/encodings/uu_codec.pyuIncrementalDecoderMsuIncrementalDecodercBs|EeZdZeZdS(uStreamWriterN(u__name__u
__module__u__qualname__ubytesucharbuffertype(u
__locals__((u7/opt/alt/python33/lib64/python3.3/encodings/uu_codec.pyuStreamWriterQsuStreamWritercBs|EeZdZeZdS(uStreamReaderN(u__name__u
__module__u__qualname__ubytesucharbuffertype(u
__locals__((u7/opt/alt/python33/lib64/python3.3/encodings/uu_codec.pyuStreamReaderTsuStreamReadercCs:tjdddtdtdtdtdtdtd	d
�S(Nunameuuuuencodeudecodeuincrementalencoderuincrementaldecoderustreamreaderustreamwriteru_is_text_encodingF(	ucodecsu	CodecInfou	uu_encodeu	uu_decodeuIncrementalEncoderuIncrementalDecoderuStreamReaderuStreamWriteruFalse(((u7/opt/alt/python33/lib64/python3.3/encodings/uu_codec.pyugetregentryYs	ugetregentry(
u__doc__ucodecsubinasciiuiouBytesIOu	uu_encodeu	uu_decodeuCodecuIncrementalEncoderuIncrementalDecoderuStreamWriteruStreamReaderugetregentry(((u7/opt/alt/python33/lib64/python3.3/encodings/uu_codec.pyu<module>s!

Zerion Mini Shell 1.0