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