Eryk Sun <eryk...@gmail.com> added the comment:

> Sorry, but there is no documented relationship between byte 
> offsets and tell() results for text-mode files in Windows:

The I/O stack in Python 3 does not use C FILE streams, and this issue is not 
related to Windows. TextIOWrapper.tell returns a "cookie" based on the decoder 
state:

https://github.com/python/cpython/blob/3.8/Modules/_io/textio.c#L2589

----------
nosy: +eryksun

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39962>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to