[New-bugs-announce] [issue27450] bz2: BZ2File should expose compression level as an attribute

Josh Triplett report at bugs.python.org
Mon Jul 4 16:01:33 EDT 2016


New submission from Josh Triplett:

(This exists in both Python 3 and Python 2.)

When opening an existing .bz2 file with BZ2File, I'd like to have access to the compression level, so that I don't have to manually parse the file's header to get it.  BZ2File could provide the compression level as an attribute on itself.

----------
components: Library (Lib)
messages: 269806
nosy: joshtriplett
priority: normal
severity: normal
status: open
title: bz2: BZ2File should expose compression level as an attribute
type: enhancement
versions: Python 2.7, Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27450>
_______________________________________


More information about the New-bugs-announce mailing list