# HG changeset patch # User Henry S. Thompson # Date 1773340107 0 # Node ID 4497f2ad3a6fd1813273c4bc60a397fe4cf358fb # Parent 444ddf7045025d6ee47a64e48950355c9cd20fdc back to igzip diff -r 444ddf704502 -r 4497f2ad3a6f lib/python/cc/warc.py --- a/lib/python/cc/warc.py Thu Mar 12 18:20:01 2026 +0000 +++ b/lib/python/cc/warc.py Thu Mar 12 18:28:27 2026 +0000 @@ -5,7 +5,7 @@ part''' import sys, io -#from isal import igzip +from isal import igzip import cython, typing, gzip INFO: int = 0 @@ -44,7 +44,7 @@ except gzip.BadGzipFile: stream = open(filename, 'rb', 0) else: - stream = gzip.GzipFile(filename = filename) + stream = igzip.IGzipFile(filename = filename) buf: char[::1] = bytearray(BUFSIZE) bufView: char[::1] = memoryview(buf) fpos: int = 0