Valentin Samir <valentin.sa...@crans.org> added the comment:

hum trying to be clever and I am doing mistakes.

This commit is simpler and effectively fixes the issue 
https://github.com/nitmir/cpython/commit/682138a3544a2d7de457c88712e738938568f908

tarinfo.offset_data is where tarfile start reading the file data and thus must 
be set to the beginning of the actual data for a sparse file even if the data 
block starts before.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39688>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to