python-archive
python-archive copied to clipboard
Archive class should be a context manager
This would allow something like:
with archive.Archive('files.tgz') as files:
files.extract()
On exit of the context manager the archive file could be closed instead of relying on __del__().