Skip to content

lzma implementation #5717

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

lzma implementation #5717

wants to merge 3 commits into from

Conversation

arihant2math
Copy link
Collaborator

Based on #5709 because of the zlib abstraction.

@arihant2math arihant2math marked this pull request as ready for review April 20, 2025 05:48
@arihant2math
Copy link
Collaborator Author

This turned out surprisingly effective, about 2/3s of the tests pass, which is enough for me at the moment. The main missing parts involve a bunch of unsafe things that xz2 doesn't really support (to my knowledge atleast).

As a side note I also abstracted out Compressor like Decompressor was abstracted

@arihant2math arihant2math force-pushed the lzma branch 2 times, most recently from c09442c to 2bad5d2 Compare April 21, 2025 00:01
@arihant2math arihant2math marked this pull request as draft April 21, 2025 02:24
@arihant2math arihant2math marked this pull request as ready for review April 21, 2025 02:24
@arihant2math
Copy link
Collaborator Author

Lots of tests are failing because they were previously blocked due to no implementation at all.

@arihant2math arihant2math changed the title Lzma implementation lzma implementation Apr 21, 2025
@coolreader18
Copy link
Member

coolreader18 commented Apr 21, 2025

Would you be able to squash these commits down? Ideally into one for copying the files from cpython, and one for all the rest?

@arihant2math
Copy link
Collaborator Author

Sure

@arihant2math arihant2math force-pushed the lzma branch 2 times, most recently from 22ab4cb to 19a43f5 Compare April 21, 2025 19:39
@arihant2math
Copy link
Collaborator Author

It's at 3 now, I committed things in a weird fashion so I can't get it below that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants