“internal_pos” which is only written to and never read was
introduced with this commit:
commit
85737f48c38a432f2429e9e3e4b81fed164c4b9a
Author: Eduardo Robles Elvira <edulix@wadobo.com>
Date: Fri Jul 5 11:50:43 2013 +0200
extracting files in r#gz mode now works too, includes unit tests
and lacks a raison d’être ever since.
self.concat_pos = 0
self.closed = False
self.flags = 0
- self.internal_pos = 0
self.concat_stream = concat_stream
self.last_block_offset = 0
self.dbuf = b"" # ???
t.append(buf)
c += len(buf)
- self.internal_pos += len(buf)
t = b"".join(t)
self.buf = t[size:]