| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
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 |
Sorry, something went wrong.
|
Lots of tests are failing because they were previously blocked due to no implementation at all. |
Sorry, something went wrong.
|
Would you be able to squash these commits down? Ideally into one for copying the files from cpython, and one for all the rest? |
Sorry, something went wrong.
|
Sure |
Sorry, something went wrong.
|
It's at 3 now, I committed things in a weird fashion so I can't get it below that. |
Sorry, something went wrong.
| elif comptype == "xz": | ||
| try: | ||
| import lzma | ||
| # TODO: RUSTPYTHON remove underscore |
There was a problem hiding this comment.
Is this name changed to raise ImportError? What happens if it is lzma?
Sorry, something went wrong.
There was a problem hiding this comment.
Yes, if left as is everything breaks because lzma is expected to be unimportable.
Sorry, something went wrong.
There was a problem hiding this comment.
xz seems to be not support. Added reason and avoided to use fake module name
Sorry, something went wrong.
|
oh no.. I thought #5728 and this one had shared work of the new compression module |
Sorry, something went wrong.
|
@arihant2math What will be the best way? Is it worth to keep #5728? |
Sorry, something went wrong.
|
Probably easiest to revert, yes. |
Sorry, something went wrong.
…tPython#5728)" This reverts commit 9c88475.
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
| Back | FazBrowse Home | New Git URL |
Based on #5709 because of the zlib abstraction.