◐ Shell
reader mode source ↗
Skip to content

Update _compression, gzip, and test_gzip for CPython v3.11.2#4688

Merged
youknowone merged 2 commits into
RustPython:mainfrom
tdub0:compression
Mar 15, 2023
Merged

Update _compression, gzip, and test_gzip for CPython v3.11.2#4688
youknowone merged 2 commits into
RustPython:mainfrom
tdub0:compression

Conversation

@tdub0

@tdub0 tdub0 commented Mar 13, 2023

Copy link
Copy Markdown
Contributor

Updated _compression.py to match CPython v3.11.2. I didn't see any immediate unit test for this, so it seemed fit to test using a library that relies on _compression.py. I updated gzip.py / test_gzip.py and accounted for the unexpected failures on test_gzip.py.

The failures were primarily wbit errors tracing to stdlib/src/zlib.rs, but I am not familiar enough with this module in rust to correct the issues.

@tdub0

tdub0 commented Mar 13, 2023

Copy link
Copy Markdown
Contributor Author

See #4564.

@youknowone youknowone left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

That's really good decision 😄
thank you!

@youknowone youknowone left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

looks good, thank you!

@youknowone youknowone force-pushed the compression branch 3 times, most recently from 13687c3 to 407f3f5 Compare March 15, 2023 14:15
@youknowone youknowone merged commit 134d9f1 into RustPython:main Mar 15, 2023
@tdub0 tdub0 deleted the compression branch March 15, 2023 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants