mς
­fIc           @   sm   d  Z  d k Z d e i f d     YZ d e e i f d     YZ d e e i f d     YZ d   Z d S(	   s5   Python 'undefined' Codec

    This codec will always raise a ValueError exception when being
    used. It is intended for use by the site.py file to switch off
    automatic string to Unicode coercion.

Written by Marc-Andre Lemburg (mal@lemburg.com).

(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.

Nt   Codecc           B   s    t  Z d d  Z d d  Z RS(   Nt   strictc         C   s   t  d  d  S(   Ns   undefined encoding(   t   UnicodeError(   t   selft   inputt   errors(    (    t0   /mit/python/lib/python2.4/encodings/undefined.pyt   encode   s    c         C   s   t  d  d  S(   Ns   undefined encoding(   R   (   R   R   R   (    (    R   t   decode   s    (   t   __name__t
   __module__R   R   (    (    (    R   R       s   t   StreamWriterc           B   s   t  Z RS(   N(   R	   R
   (    (    (    R   R      s   t   StreamReaderc           B   s   t  Z RS(   N(   R	   R
   (    (    (    R   R      s   c           C   s   t    i t    i t t f S(   N(   R    R   R   R   R   (    (    (    R   t   getregentry    s    (   t   __doc__t   codecsR    R   R   R   (   R   R   R    R   R   (    (    R   t   ?   s
   	