This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Cezary.Wagner
Recipients Cezary.Wagner, eric.smith, eryksun, paul.moore, steve.dower, tim.golden, tim.peters, zach.ware
Date 2020-03-14.12:48:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584190090.96.0.108214467484.issue39962@roundup.psfhosted.org>
In-reply-to
Content
> 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".
History
Date User Action Args
2020-03-14 12:48:11Cezary.Wagnersetrecipients: + Cezary.Wagner, tim.peters, paul.moore, eric.smith, tim.golden, zach.ware, eryksun, steve.dower
2020-03-14 12:48:10Cezary.Wagnersetmessageid: <1584190090.96.0.108214467484.issue39962@roundup.psfhosted.org>
2020-03-14 12:48:10Cezary.Wagnerlinkissue39962 messages
2020-03-14 12:48:10Cezary.Wagnercreate