Cezary Wagner <cezary.wag...@gmail.com> added the comment:

> 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:

That can big problem when I use serialization if f.tell() is "cookie".

When I serialize it and run program again f.seek() will not works.

I will test it but I think that can be big problem since this behavior is very 
unclear and non standard (comparing to C++/C#/Java ...).

Maybe it should some method to get right position not "opaque position".

----------

_______________________________________
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