• Andrew M. Kuchling's avatar
    [Backport rev. 38534 by loewis] · f21bdb4c
    Andrew M. Kuchling yazdı
    [Possibly controversial because it adds a parameter to a method.
     This parameter isn't documented, however, so arguably it's a private
     detail, and the fix is necessary to make GzipFile.flush() behave more
     similarly to regular file object.]
    
    Patch #1110248: SYNC_FLUSH the zlib buffer for GZipFile.flush.
    Partially fixes #1110242.
    f21bdb4c
gzip.py 16 KB