MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _BZ2Proxy

Class _BZ2Proxy

Lib/tarfile.py:640–699  ·  view source on GitHub ↗

Small proxy class that enables external file object support for "r:bz2" and "w:bz2" modes. This is actually a workaround for a limitation in bz2 module's BZ2File class which (unlike gzip.GzipFile) has no support for a file object argument.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

bz2openMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected