[issue36434] Zipfile breaks if signalled during write()

2019-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report Andriy. 3.5 and 3.6 take only security bug fixes. -- versions: -Python 3.5, Python 3.6, Python 3.9 ___ Python tracker

[issue36434] Zipfile breaks if signalled during write()

2019-03-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36434] Zipfile breaks if signalled during write()

2019-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4724ba9b57c45ce4bca3c828f2ed8dcff3800a0c by Serhiy Storchaka (Miss Islington (bot)) in branch '3.7': bpo-36434: Properly handle writing errors in ZIP files. (GH-12559) (GH-12628)

[issue36434] Zipfile breaks if signalled during write()

2019-03-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +12561 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36434] Zipfile breaks if signalled during write()

2019-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2524fdefc9bb2a97b99319190aeb23703079ad4c by Serhiy Storchaka in branch 'master': bpo-36434: Properly handle writing errors in ZIP files. (GH-12559) https://github.com/python/cpython/commit/2524fdefc9bb2a97b99319190aeb23703079ad4c --

[issue36434] Zipfile breaks if signalled during write()

2019-03-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +12504 stage: -> patch review ___ Python tracker ___ ___

[issue36434] Zipfile breaks if signalled during write()

2019-03-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +alanmcintyre, serhiy.storchaka, twouters ___ Python tracker ___ ___ Python-bugs-list

[issue36434] Zipfile breaks if signalled during write()

2019-03-26 Thread Andriy Maletsky
New submission from Andriy Maletsky : Consider a simple write to a zip file: import zipfile with zipfile.ZipFile('/workdir/archive.zip', 'w', compression=zipfile.ZIP_DEFLATED) as zip_archive: zip_archive.write('/workdir/data.csv', arcname='data.csv') print('exiting from context