You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2022-04-04.18:53:55.576>labels= ['type-feature', 'library', '3.11']
title='adding name to lzmafile'updated_at=<Date2022-04-04.18:54:30.318>user='https://github.com/ellaellela'
LZMAFile 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 BZ2File as well (a different enhancement).
Activity
ellaellela commentedon Apr 4, 2022
LZMAFile 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 BZ2File as well (a different enhancement).
serhiy-storchaka commentedon Feb 26, 2024
This is the part of more complex issue #115961.