This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author G.Rakosy
Recipients G.Rakosy, iritkatriel, ronaldoussoren
Date 2021-09-28.10:15:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632824116.71.0.26918344993.issue44841@roundup.psfhosted.org>
In-reply-to
Content
Like Ronald Oussoren wrote "ZipInfo does not have a filemode attribute, that's why it is not in ZipInfo.__slots__."

----------------
import zipfile

file_zip = zipfile.ZipFile("test-one-dir.zip", mode='r')
for info in file_zip.infolist():
    print(info)
---------------

In the print, it shows the option 'filemode'. And that option is not accessible. That's the reason why i made this issue.
History
Date User Action Args
2021-09-28 10:15:16G.Rakosysetrecipients: + G.Rakosy, ronaldoussoren, iritkatriel
2021-09-28 10:15:16G.Rakosysetmessageid: <1632824116.71.0.26918344993.issue44841@roundup.psfhosted.org>
2021-09-28 10:15:16G.Rakosylinkissue44841 messages
2021-09-28 10:15:16G.Rakosycreate