This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: adding name to BZ2File
Type: enhancement Stage: patch review
Components: Library (Lib) Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ellaellela
Priority: normal Keywords: patch

Created on 2022-04-04 18:49 by ellaellela, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 32311 open ellaellela, 2022-04-04 18:49
Messages (1)
msg416690 - (view) Author: Marin M (ellaellela) * Date: 2022-04-04 18:49
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).
History
Date User Action Args
2022-04-11 14:59:58adminsetgithub: 91373
2022-04-04 18:49:45ellaellelasetkeywords: + patch
stage: patch review
pull_requests: + pull_request30373
2022-04-04 18:49:04ellaellelacreate