î ±+e»ã@s±dZddlmZmZddlZeZddd„ZGdd„dejƒZGd d „d ejƒZGd d „d ej ƒZ Gd d„dej ƒZ dd„Z dS)zØ Python 'mbcs' Codec for Windows Cloned by Mark Hammond (mhammond@skippinet.com.au) from ascii.py, which was written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. é)Ú mbcs_encodeÚ mbcs_decodeNÚstrictcCst||dƒS)NT)r)ÚinputÚerrors©rú3/opt/alt/python34/lib64/python3.4/encodings/mbcs.pyÚdecodesr c@seZdZddd„ZdS)ÚIncrementalEncoderFcCst||jƒdS)Nr)rr)ÚselfrÚfinalrrrÚencodeszIncrementalEncoder.encodeN)Ú__name__Ú __module__Ú __qualname__r rrrrr s r c@seZdZeZdS)ÚIncrementalDecoderN)rrrrÚ_buffer_decoderrrrrs rc@seZdZeZdS)Ú StreamWriterN)rrrrr rrrrrs rc@seZdZeZdS)Ú StreamReaderN)rrrrr rrrrr!s rcCs4tjdddtdtdtdtdtdtƒS) NÚnameÚmbcsr r ÚincrementalencoderÚincrementaldecoderÚ streamreaderÚ streamwriter)ÚcodecsÚ CodecInfor r r rrrrrrrÚ getregentry&s r) Ú__doc__rrrr r r ÚBufferedIncrementalDecoderrrrrrrrrÚ s