Lines Matching refs:bz2
145 if type == "bz2":
147 import bz2
149 raise CompressionError("bz2 module is not available")
152 self.cmp = bz2.BZ2Decompressor()
154 self.cmp = bz2.BZ2Compressor()
613 'r:bz2' open for reading with bzip2 compression
617 'w:bz2' open for writing with bzip2 compression
620 'r|bz2' open a bzip2 compressed stream of cpio blocks
623 'w|bz2' open a bzip2 compressed stream for writing
722 import bz2
724 raise CompressionError("bz2 module is not available")
728 if ext == ".bz2":
737 bz2.BZ2File(name, mode, compresslevel=compresslevel))
787 "bz2": "bz2open", # bzip2 compressed