New submission from Xiaolong Liu <liuxiaolong...@126.com>:

I used zipfile module to archive thousands of .geojson file to zip files and 
access those .geojson file by ZipFile.open() method. In my hundreds of 
runnings, one of them was abnormal.
As the title says, the ZipFile.namelist() did not match all the files in .zip 
file. And I extracted it by extractall() method and it only got those files 
included in the namelist. On the other hand, I extracted it by my compress 
software (360zip). I got the other files unincluded in the namelist(). Only one 
file (2564.geojson) appeared with these two extract methods.
ZipFile.extractall() method got 674 files from '2654.geojson' to '3989.geojson'.
360zip got 1399 files from '0000.geojson' to '2654.geojson'.
The abnormal file is too big to upload this page and I uploaded to google drive:
https://drive.google.com/file/d/1UE2N2qwjn4m7uE6YF2A1FhdXYHP_7zQr/view?usp=sharing

----------
components: Library (Lib)
messages: 372247
nosy: alanmcintyre, longavailable, serhiy.storchaka, twouters
priority: normal
severity: normal
status: open
title: ZipFile.namelist() does not match the actual files in .zip file
type: performance
versions: Python 3.8

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

Reply via email to