Message207132
Now that zipfile.ZipFile supports the context manager protocol, shouldn't
shutil._make_zipfile make use of it to avoid the possibility of the archive file not being closed properly if an exception occurs? It should be noted that shutil._unpack_zipfile does use try/finally to ensure that files are closed. |
|
Date |
User |
Action |
Args |
2014-01-01 11:21:17 | peter@psantoro.net | set | recipients:
+ peter@psantoro.net |
2014-01-01 11:21:17 | peter@psantoro.net | set | messageid: <1388575277.51.0.394331001558.issue20102@psf.upfronthosting.co.za> |
2014-01-01 11:21:17 | peter@psantoro.net | link | issue20102 messages |
2014-01-01 11:21:16 | peter@psantoro.net | create | |
|