R. David Murray added the comment:
I don't think the comment about save and restore of the file position adds
enough value to be worth the possible confusion ("do I only need to save and
restore around peek? Why?") I think the sentence should read, ex, "Calling a
:class:`LZMAFile` object's :meth:`peek` method does not advance its access
position, but the access position of the underlying :term:`file object` may be
affected."
Note that I have no objection to making the two sync up, if it is in fact
possible. But if Serhiy says it can't be, I expect he's right.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue18430>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com