summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2019-11-27 13:22:06 (GMT)
committerGitHub <noreply@github.com>2019-11-27 13:22:06 (GMT)
commitea9835c5d154ab6a54eed627958473b6768b28cc (patch)
treee65f74eab9ca75f936121582111232d970aa159c /Misc/NEWS.d
parent1bddf890e595a865414645c6041733043c4081f8 (diff)
downloadcpython-ea9835c5d154ab6a54eed627958473b6768b28cc.zip
cpython-ea9835c5d154ab6a54eed627958473b6768b28cc.tar.gz
cpython-ea9835c5d154ab6a54eed627958473b6768b28cc.tar.bz2
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>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2019-11-27-16-30-02.bpo-26730.56cdBn.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-11-27-16-30-02.bpo-26730.56cdBn.rst b/Misc/NEWS.d/next/Library/2019-11-27-16-30-02.bpo-26730.56cdBn.rst
new file mode 100644
index 0000000..a92b90a
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-11-27-16-30-02.bpo-26730.56cdBn.rst
@@ -0,0 +1,2 @@
+Fix ``SpooledTemporaryFile.rollover()`` might corrupt the file when it is in
+text mode. Patch by Serhiy Storchaka.