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.

classification
Title: Seek in file object didn't treat all paths of exceptions
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.11, Python 3.10, Python 3.9, Python 3.8, Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: eric.smith, mog7599
Priority: normal Keywords:

Created on 2021-10-21 08:59 by mog7599, last changed 2022-04-11 14:59 by admin.

Files
File name Uploaded Description Edit
Python - file Bug.txt mog7599, 2021-10-21 08:59
Messages (2)
msg404573 - (view) Author: Almog Mishraki (mog7599) Date: 2021-10-21 08:59
Hi
I detailed everything in the file I've upload.
Thanks in advanced
msg404614 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2021-10-21 16:13
That's behavior we can't change without breaking code.

And it's documented as working this way, at least on Linux: https://linux.die.net/man/2/lseek
History
Date User Action Args
2022-04-11 14:59:51adminsetgithub: 89712
2021-10-21 16:13:29eric.smithsetnosy: + eric.smith
messages: + msg404614
2021-10-21 08:59:47mog7599create