New submission from Dum Dum :
Use list comprehension in namelist() method of zipfile module.
--
components: Library (Lib)
files: zipfile.patch
keywords: patch
messages: 158524
nosy: Dum.Dum
priority: normal
severity: normal
status: open
title: List comprehension in zipfile.namelist
type
New submission from Dum Dum:
On Windows 8.1 64-bit, using a fresh installation of Python 3.5.150.0 64-bit,
`error_script.py` crashes, while Python 3.4.3150 and 2.7.10150 (both 64-bit)
run the script properly.
Here is a traceback: https://bpaste.net/show/3ecfbf93b96e
--
files
Dum Dum added the comment:
I rewrote the code following your suggestions and it appears the error was
indeed on my side. I somewhat expected that, but found it weird that it only
seemed to occur on 3.5. Thank you!
--
___
Python tracker
<h