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 ignores an error when trying to extract a directory on top of a file #114959
During review of #112966 and #103263 I found inconsistency between zipfile and tarfile. When zipfile tries to extract a directory on top of an existing file, it fails. When tarfile tries to extract a directory on top of an existing file, it silently returns, keeping an existing file. This is an obvious bug in tarfile.
Both modules should be more cautious when extract on top of symlinks, but this is a different issue.
Activity
pythongh-114959: tarfile: do not ignore errors when extract a directo…
pythongh-114959: tarfile: do not ignore errors when extract a directo…
gh-114959: tarfile: do not ignore errors when extract a directory on …
pythongh-114959: tarfile: do not ignore errors when extract a directo…
pythongh-114959: tarfile: do not ignore errors when extract a directo…
[3.12] gh-114959: tarfile: do not ignore errors when extract a direct…
[3.11] gh-114959: tarfile: do not ignore errors when extract a direct…
pythongh-114959: tarfile: do not ignore errors when extract a directo…
pythongh-114959: tarfile: do not ignore errors when extract a directo…