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.

Author ellaellela
Recipients ellaellela
Date 2022-04-04.18:49:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1649098144.47.0.758350700738.issue47217@roundup.psfhosted.org>
In-reply-to
Content
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-04 18:49:04ellaellelasetrecipients: + ellaellela
2022-04-04 18:49:04ellaellelasetmessageid: <1649098144.47.0.758350700738.issue47217@roundup.psfhosted.org>
2022-04-04 18:49:04ellaellelalinkissue47217 messages
2022-04-04 18:49:04ellaellelacreate