a Z^@svdZddlZGdddejZGdddejZGdddejZGd d d eejZGd d d eejZd dZdS)a5 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. Nc@s eZdZdddZdddZdS) CodecstrictcCs tddSNzundefined encoding UnicodeErrorselfinputerrorsr +/usr/lib64/python3.9/encodings/undefined.pyencodesz Codec.encodecCs tddSrrrr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__r rr r r r rs rc@seZdZdddZdS)IncrementalEncoderFcCs tddSrrrr finalr r r r szIncrementalEncoder.encodeN)F)rrrr r r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCs tddSrrrr r r rszIncrementalDecoder.decodeN)F)rrrrr r r r rsrc@s eZdZdS) StreamWriterNrrrr r r r r src@s eZdZdS) StreamReaderNrr r r r r#src Cs tjdtjtjttttdS)NZ undefined)namer rincrementalencoderincrementaldecoder streamwriter streamreader) codecs CodecInforr rrrrrr r r r getregentry(sr )__doc__rrrrrrr r r r r s