Message316112
The workaround in the current 2.7 is specifying an explicit filename argument:
with tempfile.SpooledTemporaryFile() as fd:
with gzip.GzipFile(filename='', mode='wb', fileobj=fd) as gz:
gz.write(b'asdf') |
|
Date |
User |
Action |
Args |
2018-05-03 07:28:46 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, benjamin.peterson, ned.deily, bbayles, da |
2018-05-03 07:28:46 | serhiy.storchaka | set | messageid: <1525332526.64.0.682650639539.issue33038@psf.upfronthosting.co.za> |
2018-05-03 07:28:46 | serhiy.storchaka | link | issue33038 messages |
2018-05-03 07:28:46 | serhiy.storchaka | create | |
|