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 eric.smith
Recipients Cezary.Wagner, eric.smith, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-03-14.00:02:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584144151.13.0.000712723572792.issue39962@roundup.psfhosted.org>
In-reply-to
Content
tell() is opaque when opening a text file: you can't interpret the output, its only use is for input to seek().

From the docs https://docs.python.org/3/tutorial/inputoutput.html#methods-of-file-objects:

"f.tell() returns an integer giving the file object’s current position in the file represented as number of bytes from the beginning of the file when in binary mode and an opaque number when in text mode."

Does the value returned from tell() not work in seek()? That would be the only bug here.
History
Date User Action Args
2020-03-14 00:02:31eric.smithsetrecipients: + eric.smith, paul.moore, tim.golden, zach.ware, steve.dower, Cezary.Wagner
2020-03-14 00:02:31eric.smithsetmessageid: <1584144151.13.0.000712723572792.issue39962@roundup.psfhosted.org>
2020-03-14 00:02:31eric.smithlinkissue39962 messages
2020-03-14 00:02:30eric.smithcreate