grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026 й¼]Üã@sKddlZejZGdd„dejƒZGdd„dejƒZdS)éNc@s@eZdZdd„Zdd„Zdd„Zdd„Zd S) Ú BaseStreamcCs|jrtdƒ‚dS)NzI/O operation on closed file)ÚclosedÚ ValueError)Úself©rú1/opt/alt/python35/lib64/python3.5/_compression.pyÚ_check_not_closed s zBaseStream._check_not_closedcCs|jƒstjdƒ‚dS)NzFile not open for reading)ÚreadableÚioÚUnsupportedOperation)rrrrÚ_check_can_reads zBaseStream._check_can_readcCs|jƒstjdƒ‚dS)NzFile not open for writing)Úwritabler r )rrrrÚ_check_can_writes zBaseStream._check_can_writecCs:|jƒstjdƒ‚|jƒs6tjdƒ‚dS)Nz3Seeking is only supported on files open for readingz3The underlying file object does not support seeking)r r r Úseekable)rrrrÚ_check_can_seeks  zBaseStream._check_can_seekN)Ú__name__Ú __module__Ú __qualname__rr rrrrrrr s    rcsŽeZdZdd„Zfdd„Z‡fdd†Zdd„Zd d „Zdd d „Zdd„Z e j dd„Z dd„Z ‡S)ÚDecompressReadercCsdS)NTr)rrrrr $szDecompressReader.readablecKsX||_d|_d|_d|_||_||_|j|j�|_||_dS)NFrééÿÿÿÿ)Ú_fpÚ_eofÚ_posÚ_sizeÚ_decomp_factoryÚ _decomp_argsÚ _decompressorÚ_trailing_error)rÚfpÚdecomp_factoryÚtrailing_errorÚ decomp_argsrrrÚ__init__'s      zDecompressReader.__init__csd|_tƒjƒS)N)rÚsuperÚclose)r)Ú __class__rrr%;s zDecompressReader.closecCs |jjƒS)N)rr)rrrrr?szDecompressReader.seekablecCsdt|ƒ�K}|jdƒ�2}|jt|ƒƒ}||dt|ƒ…        zDecompressReader.readcCs;|jjdƒd|_d|_|j|j�|_dS)NrF)rÚseekrrrrr)rrrrÚ_rewindrs  zDecompressReader._rewindcCs|tjkrn{|tjkr1|j|}n\|tjkrx|jdkrhx|jtjƒrgqRW|j|}ntdj |ƒƒ‚||jkr©|j ƒn ||j8}xB|dkrú|jt tj|ƒƒ}|sçP|t |ƒ8}q¹W|jS)NrzInvalid value for whence: {}) r ÚSEEK_SETÚSEEK_CURrÚSEEK_ENDrr*ÚDEFAULT_BUFFER_SIZErÚformatr<Úminr+)rÚoffsetÚwhencer/rrrr;xs&  zDecompressReader.seekcCs|jS)N)r)rrrrÚtell–szDecompressReader.tellr)rrrr r#r%rr0r*r<r r=r;rErr)r&rr!s    * r)r r@r5ÚBufferedIOBaserÚ RawIOBaserrrrrÚs