U e5d@sddlZddlZddlmZdddZdddZGdd d ejZGd d d ejZGd d d ejZGdddeej Z Gdddeej Z ddZ dS)N)BytesIOstrictcCs.t|}t}tj||dd|t|fS)NT)Z quotetabs)rquopriencodegetvalueleninputerrorsfgr ./usr/lib64/python3.8/encodings/quopri_codec.py quopri_encode srcCs*t|}t}t|||t|fSN)rrdecoderrrr r r quopri_decodes rc@s eZdZdddZdddZdS) CodecrcCs t||Sr)rselfr r r r rrsz Codec.encodecCs t||Sr)rrr r rrsz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r rrs rc@seZdZdddZdS)IncrementalEncoderFcCst||jdSNr)rr rr finalr r rrszIncrementalEncoder.encodeN)F)rrrrr r r rrsrc@seZdZdddZdS)IncrementalDecoderFcCst||jdSr)rr rr r rr#szIncrementalDecoder.decodeN)F)rrrrr r r rr"src@seZdZeZdS) StreamWriterNrrrbytescharbuffertyper r r rr&src@seZdZeZdS) StreamReaderNrr r r rr")sr"c CstjdttttttddS)NrF)namerrincrementalencoderincrementaldecoder streamwriter streamreader_is_text_encoding)codecs CodecInforrrrrr"r r r r getregentry.sr+)r)r) r)riorrrrrrrr"r+r r r rs