[New-bugs-announce] [issue47217] adding name to BZ2File

Marin M report at bugs.python.org
Mon Apr 4 14:49:04 EDT 2022


New submission from Marin M <pfobos at gmail.com>:

BZ2File doesn't have attribute name, unlike GzipFile which has it. Trying to access that attribute results in error.

PR is ready with code changes and tests which mimics what is already available for GzipFile (e.g. we do not take name from BytesIO() objects because they do not have it).
A similar PR is ready for LZMAFile as well (a different enhancement).

----------
components: Library (Lib)
messages: 416690
nosy: ellaellela
priority: normal
severity: normal
status: open
title: adding name to BZ2File
type: enhancement
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47217>
_______________________________________


More information about the New-bugs-announce mailing list