[issue18430] gzip, bz2, lzma: peek advances file position of existing file object

Nick Bargnesi report at bugs.python.org
Thu Jul 11 22:57:43 CEST 2013


Nick Bargnesi added the comment:

In that the underlying file position is not deterministic when used like this, I'm inclined to agree.

Though faced with documentation stating it does not "advance the file position", it certainly is less than explicit about it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18430>
_______________________________________


More information about the Python-bugs-list mailing list