New submission from Serhiy Storchaka:

If the ZipFile was created by passing in a file-like object as the first 
argument to the constructor, then simultaneous reading or writing of different 
file results in an non-consistent state. There is a warning about this in the 
documentation. The proposed patch forces this condition, raising the early 
exception if you attempt to simultaneously access.

I'm not sure whether it's worth apply to older versions.

components: Library (Lib)
files: zipfile_simultaneous.patch
keywords: patch
messages: 176544
nosy: alanmcintyre, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Preventing errors of simultaneous access in zipfile
type: enhancement
versions: Python 3.4
Added file:

Python tracker <>
Python-bugs-list mailing list

Reply via email to