[issue47218] adding name to lzmafile

2022-04-04 Thread Marin M


Change by Marin M :


--
keywords: +patch
pull_requests: +30374
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/32312

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47218] adding name to lzmafile

2022-04-04 Thread Marin M


New submission from Marin M :

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).

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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com