Your IP : 3.145.81.47
�
��f�
c @ s� d Z d d l Z d d l Z d d l m Z d d d d d � Z d d d
� Z Gd d � d e j � Z Gd
d � d e j � Z Gd d � d e j � Z Gd d � d e e j
� Z
Gd d � d e e j � Z d d � Z d S( u Python '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.
i N( u BytesIOu strictu <data>i� c C s� t | � } t � } | j } | j } | d | d @| f j d � � | d � } x) | r | t j | � � | d � } qW W| d � | j � t | � f S( Nu begin %o %s
i� u asciii- s
end
( u BytesIOu readu writeu encodeu binasciiu b2a_uuu getvalueu len( u inputu errorsu filenameu modeu infileu outfileu readu writeu chunk( ( u7 /opt/alt/python33/lib64/python3.3/encodings/uu_codec.pyu uu_encode s !
u uu_encodec
C s; t | � } t � } | j } | j } x; | � } | sH t d � � n | d d � d k r* Pq* q* x� | � } | s� | d k r� Pn y t j | � } Wne t j k
r} zB t | d � d d @d d d } t j | d | � � } WYd d } ~ Xn X| | � qh | s%t d
� � n | j � t | � f S( Nu"