[issue26158] File truncate() not defaulting to current position as documented
Fornax
report at bugs.python.org
Tue Jan 19 13:23:00 EST 2016
Fornax added the comment:
Heh... building on Serhiy's example:
>>> f.tell()
680564735109527527154978616360239628288
I'm way out of my depth here. The results seem surprising, but I lack the experience to be able to say what they "should" look like. So I guess if it's working as intended and just needs clarification in the documentation, so be it.
Thanks for pointing out what's actually causing the behavior.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26158>
_______________________________________
More information about the Python-bugs-list
mailing list