commit | d21b8e82dda3caf0989bb39bc0e0ce2bfef97081 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Wed Nov 27 21:23:14 2019 -0800 |
committer | GitHub <noreply@github.com> | Wed Nov 27 21:23:14 2019 -0800 |
tree | 3c175fd009be267bcbf60d7e193c58f6ba24bcc4 | |
parent | 0f9c9d53283420a570850aa92869d032b40d4fba [diff] |
bpo-26730: Fix SpooledTemporaryFile data corruption (GH-17400) SpooledTemporaryFile.rollback() might cause data corruption when it is in text mode. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit ea9835c5d154ab6a54eed627958473b6768b28cc) Co-authored-by: Inada Naoki <songofacandy@gmail.com>