[issue41640] module zipfile issue on closing

2020-08-26 Thread Bastian Ebeling
New submission from Bastian Ebeling : When trying to open an archive and read internal binary streams, for me it occurs, that the file-stream gets closed. As a code-Snippet: import zipfile srcfile=zipfile.ZipFile('file.zip') a=zipfile.Path(srcfile,"data1.bin").read_by

[issue41640] module zipfile issue on closing

2020-08-26 Thread Bastian Ebeling
Bastian Ebeling added the comment: My used python Version is Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32 Indead - this issue seems to be the same as 40564, but maybe my suggested solution is helpful? -- components: +Library (Lib