[issue32228] truncate() changes current stream position

2017-12-05 Thread andreymal
Change by andreymal : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue32228> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue32228] truncate() changes current stream position

2017-12-05 Thread andreymal
Change by andreymal : -- title: truncate() changes tell() result -> truncate() changes current stream position ___ Python tracker <https://bugs.python.org/issu

[issue32228] truncate() changes tell() result

2017-12-05 Thread andreymal
New submission from andreymal : See attached file. As documentation about "truncate" says, "The current stream position isn’t changed." This is true for most cases. But this is not true for "wtf1.py" example. If you run it with Linux (Tested Debian 8 and Arch;