mirror of
https://github.com/python/cpython.git
synced 2026-05-19 02:44:16 -04:00
f3fa074703
file position when calling `truncate()`. It would previously change the file position to the given argument, which goes against the tradition of ftruncate() and other truncation APIs. Patch by Pascal Chambon.