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: addfile() doesn't set member offsetsΒ #150075
It appears that tarfile.TarFile.addfile() sets neither offset nor offset_data attributes in the TarInfo added to self.members, when it's done adding the file. Members in a reopened TAR have correct values.
Activity
[-]tarfile: addfile() doesn't set member offset_data[/-][+]tarfile: addfile() doesn't set member offsets[/+]grantlouisherman commentedon May 19, 2026
@spbnick @aisk is it possible for me take a look?
spbnick commentedon May 19, 2026
@grantlouisherman, I'm not sure anyone can stop you π π
grantlouisherman commentedon May 19, 2026
This is true but people can be faster @spbnick
ankhikarmakar commentedon May 19, 2026
I'd like to take this β picked from where I left off in #150019
grantlouisherman commentedon May 19, 2026
@ankhikarmakar im already starting to look at it if thatβs alright
gh-150075: tar.addfile() now sets member offsets in active TarInfo (Gβ¦