3 \@sddlZddlZddlmZdddZdddZGdd d ejZGd d d ejZGd d d ejZGdddeej Z Gdddeej Z ddZ dS)N)BytesIOstrictcCs.t|}t}tj||dd|jt|fS)NT)Z quotetabs)rquopriencodegetvaluelen)inputerrorsfgr ./usr/lib64/python3.6/encodings/quopri_codec.py quopri_encode srcCs*t|}t}tj|||jt|fS)N)rrdecoderr)rr r r r r r quopri_decodes rc@s eZdZdddZdddZdS) CodecrcCs t||S)N)r)selfrr r r r rsz Codec.encodecCs t||S)N)r)rrr r r r rsz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r rs rc@seZdZdddZdS)IncrementalEncoderFcCst||jdS)Nr)rr )rrfinalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCst||jdS)Nr)rr )rrrr r r r#szIncrementalDecoder.decodeN)F)rrrrr r r r r"src@seZdZeZdS) StreamWriterN)rrrbytescharbuffertyper r r r r&src@seZdZeZdS) StreamReaderN)rrrrrr r r r r)src CstjdttttttddS)NrF)namerrincrementalencoderincrementaldecoder streamwriter streamreader_is_text_encoding)codecs CodecInforrrrrrr r r r getregentry.sr%)r)r) r#riorrrrrrrrr%r r r r s