¬ÿ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 i¶ c C s² | d k s t t | } t } | j } | j } | d | d @| f j d | d } x) | r | t j | | d } qi W| d | j t | f S( Nu strictu begin %o %s iÿ u asciii- s end ( u AssertionErroru 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 sM | d k s t t | } t } | j } | j } x; | } | sZ t d n | d d d k r<