mirror of
https://github.com/python/cpython.git
synced 2026-05-29 15:45:56 -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.