Message316112
| Author | serhiy.storchaka |
|---|---|
| Recipients | bbayles, benjamin.peterson, da, ned.deily, serhiy.storchaka |
| Date | 2018-05-03.07:28:46 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1525332526.64.0.682650639539.issue33038@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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') |
|
| History | |||
|---|---|---|---|
| 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 | |