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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/CL6RVPQCVSDMGWAJDMREFC7LIUERYNXV/ Code of Conduct: http://python.org/psf/codeofconduct/
