This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients CristiFati, alanmcintyre, serhiy.storchaka, twouters
Date 2019-03-09.11:24:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552130654.96.0.869628000353.issue36247@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-03-09 11:24:14serhiy.storchakasetrecipients: + serhiy.storchaka, twouters, alanmcintyre, CristiFati
2019-03-09 11:24:14serhiy.storchakasetmessageid: <1552130654.96.0.869628000353.issue36247@roundup.psfhosted.org>
2019-03-09 11:24:14serhiy.storchakalinkissue36247 messages
2019-03-09 11:24:14serhiy.storchakacreate