[issue41640] module zipfile issue on closing

2020-08-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks, I am closing this in favor of issue40564. Jason has provided some possible approaches in issue40564 (msg375964) and would be helpful to follow the discussion there since it has more details. -- nosy: +jaraco resolution: ->

[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)

[issue41640] module zipfile issue on closing

2020-08-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be a duplicate of issue40564 . Can you please add the python version you are using? -- nosy: +xtreak ___ Python tracker

[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_bytes()