mirror of
https://github.com/python/cpython.git
synced 2026-08-12 08:16:41 +08:00
Ensure that ``truncate()`` preserves the file position (as reported by ``tell()``) after writes longer than the buffer size.
Ensure that ``truncate()`` preserves the file position (as reported by ``tell()``) after writes longer than the buffer size.