Message376725
The documentation states that:
Calling a GzipFile object’s close() method does not close fileobj, since you might wish to append more material after the compressed data. This also allows you to pass an io.BytesIO object opened for writing as fileobj, and retrieve the resulting memory buffer using the io.BytesIO object’s getvalue() method.
(https://docs.python.org/3.8/library/gzip.html)
It's reasonable that, since you opened the file, you would also be responsible for closing it. |
|
Date |
User |
Action |
Args |
2020-09-11 11:46:45 | iritkatriel | set | recipients:
+ iritkatriel, Jake Lever |
2020-09-11 11:46:45 | iritkatriel | set | messageid: <1599824805.84.0.153816867131.issue31686@roundup.psfhosted.org> |
2020-09-11 11:46:45 | iritkatriel | link | issue31686 messages |
2020-09-11 11:46:45 | iritkatriel | create | |
|