You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tarfile: Appending nothing to a TAR with PAX global headers corrupts it #149674
without_pax_headers PASS
with_pax_headers FAIL
Traceback (most recent call last):
File "<python-input-0>", line 24, in <module>
with tarfile.TarFile(filename, mode='a'):
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.15/tarfile.py", line 1834, in __init__
raise ReadError(str(e)) from None
tarfile.ReadError: end of file header
I sm going to consider them as related. Can you update the other issue description please and change the title to describe that degenerate tars with PAX headers do not work well?
Activity
spbnick commentedon May 11, 2026
@ShadiBahaa ^^^ 😁
picnixz commentedon May 13, 2026
I sm going to consider them as related. Can you update the other issue description please and change the title to describe that degenerate tars with PAX headers do not work well?