Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

When you pass an incorrect password, it is not possible to guarantee that you 
will get an exception and the destination file will be kept unchanged. It is 
possible that you will get an incorrectly deciphered file without noticing.

I do not think that the zipfile code needs to be changed. If you want to keep 
the content of the target file in case of error, just extract the file into 
other place.

----------
resolution:  -> not a bug

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

Reply via email to