[issue44841] ZipInfo crashes on filemode

Ronald Oussoren report at bugs.python.org
Sun Sep 19 04:48:54 EDT 2021


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

I'm not sure what the issue is here. ZipInfo does not have a filemode attribute, that's why it is not in ZipInfo.__slots__.

That said, it might be interesting to add a property to ZipInfo that extracts the file mode from ZipInfo.external_attr.

----------
nosy: +ronaldoussoren

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44841>
_______________________________________


More information about the Python-bugs-list mailing list