python (3.11.7)
    e
^                     r   d Z ddlZddlZddlZddlZddlZddlZddlZddlZg dZ	d\  Z
ZZZ
Zd\  ZZdZdZdZd	edddfd
Zd Z G d d
          Z G d de          Z G d dej                  Zd Zd Z G d dej                  Z	 ddede fdZ!efdddZ"d Z#d Z$e%dk    r e$             dS dS )zFunctions that read and write gzipped files.
The user of the file doesn't have to worry about the compression,
but random access is not allowed.    N)BadGzipFileGzipFileopencompress
decompress)               )r   r	   r      	   rbc                 "   d|v rd|v rt          d|          n3|t          d          |t          d          |t          d          |                    dd          }t          | t          t          t
          j        f          rt          | ||          }nBt          | d	          st          | d
          rt          d|||           }nt          d          d|v r+t          j        |          }t          j        ||||          S |S )a  Open a gzip-compressed file in binary or text mode.
    The filename argument can be an actual filename (a str or bytes object), or
    an existing file object to read from or write to.
    The mode argument can be "r", "rb", "w", "wb", "x", "xb", "a" or "ab" for
    binary mode, or "rt", "wt", "xt" or "at" for text mode. The default mode is
    "rb", and the default compresslevel is 9.
    For binary mode, this function is equivalent to the GzipFile constructor:
    GzipFile(filename, mode, compresslevel). In this case, the encoding, errors
    and newline arguments must not be provided.
    For text mode, a GzipFile object is created, and wrapped in an
    io.TextIOWrapper instance with the specified encoding, error handling
    behavior, and line ending(s).
    tbzInvalid mode: Nz0Argument 'encoding' not supported in binary modez.Argument 'errors' not supported in binary modez/Argument 'newline' not supported in binary mode readwritez1filename must be a str or bytes object, or a file)
ValueErrorreplace
isinstancestrbytesosPathLiker   hasattr	TypeErrorio
text_encoding
TextIOWrapper)filenamemode
compresslevelencodingerrorsnewlinegz_modebinary_files           8/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/gzip.pyr   r      s2   ( d{{$;;*449:::  OPPPMNNNNOOOll3##G(S%566 Mx-@@	6	"	"