FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix bz2 module by arihant2math · Pull Request #5605 · RustPython/RustPython · GitHub

Fix bz2 module - #5605

Closed
arihant2math wants to merge 10 commits into
RustPython:mainfrom
arihant2math:bz2-rs
Closed

Fix bz2 module#5605
arihant2math wants to merge 10 commits into
RustPython:mainfrom
arihant2math:bz2-rs

Conversation

arihant2math commented Mar 13, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

The new libbz2-rs-sys is a rust only implementation of bz2. This is similar to #5562.

Blog post: https://trifectatech.org/blog/translating-bzip2-with-c2rust/

arihant2math marked this pull request as ready for review April 15, 2025 22:30

Copy link
Copy Markdown
Contributor Author

@youknowone ready for merge

Comment thread Lib/test/test_bz2.py
self.assertRaises(TypeError, BZ2File, os.devnull, "r", 3)

# TODO: RUSTPYTHON
@unittest.expectedFailure

youknowone Apr 17, 2025
edited
Loading

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Why should we go this way if it occures these many regressions?
If this can be fixed in future, let's fix it first and merge it later.
Otherwise this must be an optional feature for specific requirements.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL