summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
diff options
context:
space:
mode:
authorNitish Chandra <nitishchandrachinta@gmail.com>2018-01-28 16:00:09 (GMT)
committerAntoine Pitrou <pitrou@free.fr>2018-01-28 16:00:09 (GMT)
commit059f58ce938d9c3f0286412a4efb1b9131339421 (patch)
tree4d8ece4c9ab330e0a2e68fd27c49dbee525ec7fb /Misc/NEWS.d/next
parent79db11ce99332d62917be9d03b31494b1ff2f96a (diff)
downloadcpython-059f58ce938d9c3f0286412a4efb1b9131339421.zip
cpython-059f58ce938d9c3f0286412a4efb1b9131339421.tar.gz
cpython-059f58ce938d9c3f0286412a4efb1b9131339421.tar.bz2
bpo-32228: Reset raw_pos after unwinding the raw stream (#4858)
Ensure that ``truncate()`` preserves the file position (as reported by ``tell()``) after writes longer than the buffer size.
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r--Misc/NEWS.d/next/Library/2017-12-22-16-47-41.bpo-32228.waPx3q.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-12-22-16-47-41.bpo-32228.waPx3q.rst b/Misc/NEWS.d/next/Library/2017-12-22-16-47-41.bpo-32228.waPx3q.rst
new file mode 100644
index 0000000..3bbe7c4
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2017-12-22-16-47-41.bpo-32228.waPx3q.rst
@@ -0,0 +1 @@
+Ensure that ``truncate()`` preserves the file position (as reported by ``tell()``) after writes longer than the buffer size.