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 <rep...@bugs.python.org> <http://bugs.python.org/issue27450> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com