- http://harp.pythonanywhere.com/python_doc/whatsnew/3.6.html
- https://hg.python.org/cpython/rev/7fea2cebc604#l4.58
with ZipFile(path) as zipreader:
for entry in zipreader.filelist:
if entry.is_dir():
# do something
AttributeError: 'ZipInfo' object has no attribute 'is_dir'
with ZipFile(path) as zipreader:
for entry in zipreader.filelist:
if entry.filename[-1] == '/':
# do something