Text of bugs.python.org › issue47217 as Styx crawled it on Nov 18, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

Issue 47217: adding name to BZ2File - Python tracker

Python Home About News Documentation Downloads Community Foundation Developer's Guide Issue Tracker Issues Search Random Issue Summaries Issues with patch Easy issues Stats User Administration User List Committer List Help Tracker Documentation Tracker Development Report Tracker Problem Issue47217 ➜ 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.

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:58 admin set github: 91373 2022-04-04 18:49:45 ellaellela set keywords: + patch stage: patch review pull_requests: + pull_request30373 2022-04-04 18:49:04 ellaellela create Supported by The Python Software Foundation , Powered by Roundup Copyright © 1990-2022, Python Software Foundation Legal Statements