mirror of
https://github.com/python/cpython.git
synced 2026-05-08 21:50:40 -04:00
059f58ce93
Ensure that ``truncate()`` preserves the file position (as reported by ``tell()``) after writes longer than the buffer size.