[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 ___

[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 beca