| Server IP : 173.249.148.11 / Your IP : 216.73.216.179 Web Server : Apache/2.4.68 (AlmaLinux) System : Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64 User : devinter ( 1006) PHP Version : 8.3.35 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /snap/core/17284/usr/lib/python3.5/__pycache__/ |
Upload File : |
f �h� � @ sQ d Z d d l Z e j Z Gd d � d e j � Z Gd d � d e j � Z d S)z7Internal classes used by the gzip, lzma and bz2 modules� Nc @ sF e Z d Z d Z d d � Z d d � Z d d � Z d d � Z d S)� BaseStreamzMode-checking helper functions.c C s | j r t d � � d S)NzI/O operation on closed file)�closed� ValueError)�self� r �"/usr/lib/python3.5/_compression.py�_check_not_closed s zBaseStream._check_not_closedc C s | j � s t j d � � d S)NzFile not open for reading)�readable�io�UnsupportedOperation)r r r r �_check_can_read s zBaseStream._check_can_readc C s | j � s t j d � � d S)NzFile not open for writing)�writabler r )r r r r �_check_can_write s zBaseStream._check_can_writec C s: | j � s t j d � � | j � s6 t j d � � d S)Nz3Seeking is only supported on files open for readingz3The underlying file object does not support seeking)r r r �seekable)r r r r �_check_can_seek s zBaseStream._check_can_seekN)�__name__� __module__�__qualname__�__doc__r r r r r r r r r s r c s� e Z d Z d Z d d � Z f d d � Z � f d d � Z d d � Z d d � Z d d d � Z d d � Z e j d d � Z d d � Z � S)�DecompressReaderz5Adapts the decompressor API to a RawIOBase reader APIc C s d S)NTr )r r r r r $ s zDecompressReader.readablec K sX | | _ d | _ d | _ d | _ | | _ | | _ | j | j � | _ | | _ d S)NFr � ���)�_fp�_eof�_pos�_size�_decomp_factory�_decomp_args� _decompressor�_trailing_error)r �fpZdecomp_factoryZtrailing_errorZdecomp_argsr r r �__init__'