a Z^c@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. iNc@s eZdZdddZdddZdS) CodecstrictcC tddSNzundefined encodingZ UnicodeErrorselfinputZerrorsr+/usr/lib64/python3.9/encodings/undefined.pyencodez Codec.encodecCrrrrrrr decoder z Codec.decodeNrr )__name__ __module__ __qualname__r r rrrr rs rc@eZdZdddZdS)IncrementalEncoderFcCrrrrrZfinalrrr r r zIncrementalEncoder.encodeNF)rrrr rrrr rrc@r)IncrementalDecoderFcCrrrrrrr r r zIncrementalDecoder.decodeNr)rrrr rrrr rrrc@ eZdZdS) StreamWriterNrrrrrrr r rrc@r) StreamReaderNrrrrr r#rrc Cs tjdtjtjttttdS)NZ undefined)Znamer r ZincrementalencoderZincrementaldecoderZ streamwriterZ streamreader) codecsZ CodecInforr r rrrrrrrr getregentry(sr)Z__doc__rrrrrrrrrrr Zs