7zip in python3 with ZStandard, PPMd, LZMA2, LZMA1, Delta, BCJ, BZip2, and Deflate compressions, and AES encryption.
GNU Lesser General Public License v2.1
463
stars
74
forks
source link
fix: handle trailing slash #610
Closed
Ravencentric closed 3 months ago
Pull request type
What does this PR change?
Following in the footsteps of https://github.com/miurahr/py7zr/pull/609#issuecomment-2276282122, this PR makes it so
archive.read("some/file/") == archive.read("some/file") is True
. This matches the behavior of TarFile and allows for interoperability with ZipFiles