Gabor Rakosy <g.rak...@graafschapcollege.nl> added the comment:

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.

----------
Added file: https://bugs.python.org/file50309/test-zip.zip

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44841>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to