[issue26877] tarfile use wrong code when read from fileobj

Martin Panter report at bugs.python.org
Fri Apr 29 02:52:13 EDT 2016


Martin Panter added the comment:

Can you give a demonstration script? I don’t see how this could be triggered. If you use a tarfile mode like "r|", it internally uses a _Stream object which has a loop to do exact reads: <https://hg.python.org/cpython/annotate/v3.5.1/Lib/tarfile.py#l567>.

----------
nosy: +martin.panter
stage:  -> test needed

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


More information about the Python-bugs-list mailing list