seek() and tell() works with opaque values, called cookies.
This is close to low level details, but it is not pythonic.
(Non-pythonic and non-portable behaviour)
Currently feeding seek() with wrong values could lead to unexpected behaviour.
There should be a safer abstraction to these two basic functions.

More details in the issue:
https://github.com/python/cpython/issues/93101#issue-1244996658
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/CL6RVPQCVSDMGWAJDMREFC7LIUERYNXV/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to