New submission from Marin M <pfo...@gmail.com>:
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 <rep...@bugs.python.org> <https://bugs.python.org/issue47218> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com