commit | 059f58ce938d9c3f0286412a4efb1b9131339421 | [log] [tgz] |
---|---|---|
author | Nitish Chandra <nitishchandrachinta@gmail.com> | Sun Jan 28 21:30:09 2018 +0530 |
committer | Antoine Pitrou <pitrou@free.fr> | Sun Jan 28 17:00:09 2018 +0100 |
tree | 4d8ece4c9ab330e0a2e68fd27c49dbee525ec7fb | |
parent | 79db11ce99332d62917be9d03b31494b1ff2f96a [diff] |
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.