Home | History | Annotate | Download | only in python2.7

Lines Matching refs:compression

336     """Exception for unavailable compression methods."""
391 blockwise. Use of gzip or bzip2 compression is possible.
407 # Enable transparent compression detection for the
449 """Initialize for writing with gzip compression.
520 raise CompressionError("unsupported compression method")
617 """Small proxy class that enables transparent compression
1619 # adequate "sub"-constructor for a particular compression using the mapping
1632 'r' or 'r:*' open for reading with transparent compression
1634 'r:gz' open for reading with gzip compression
1635 'r:bz2' open for reading with bzip2 compression
1637 'w' or 'w:' open for writing without compression
1638 'w:gz' open for writing with gzip compression
1639 'w:bz2' open for writing with bzip2 compression
1641 'r|*' open a stream of tar blocks with transparent compression
1673 # given compression.
1677 raise CompressionError("unknown compression type %r" % comptype)
2532 def __init__(self, file, mode="r", compression=TAR_PLAIN):
2536 if compression == TAR_PLAIN:
2538 elif compression == TAR_GZIPPED:
2541 raise ValueError("unknown compression constant")