rarfile v4.1
Features:
- Support 7zip/p7zip as decompression backend. [#71]
- RAR5: check password before trying to read file (chigusa) [#79]
New APIs:
- Make get_rar_version a public function (Safihre) [#63]
- New option:
part_only
forRarFile
, to read only single file and allow it to be middle-part of multi-volume archive. - Add
RarFile.printdir
, use it in dumprar. Needed to examine FILE_COPY or HARD_LINK entries that do not contain data.
Fixes:
- Use OS separator to access filename. Should fix subdirectory entry access on Windows. [#96]
- DirectReader: check seek position on each read. Fixes read reading from multiple entries in parallel on RarFile backed by file object. [#81]
- DirectReader: properly disable CRC check when seeking. [#73]
- Reset _hdrenc_main before processing a new volume. Fixes CRC checks on multi-volume reads. [#80]
- Adapt to Python 3.10 argparse (MeggyCal) [#85]
- SFX: Handle volume numbering special cases better.
- nsdatetime: support pypy internal use
- Throw error if backend does not support passwords.
Cleanups:
- ci: Use proper unrar on Windows. MingW one tolaretes paths with
/
better than upstream build. - ci: Add Python 3.10 to the testing (Christian Clauss) [#76]
- Avoid isascii, not in 3.6