Skip to content
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

Use brotli with CPython, brotlicffi elsewhere #31

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ahesford
Copy link

Upstream recommends using the standard brotli package with CPython, relying on the CFFI alternative only on other platforms. Changes in this PR follow these recommendations.

Copy link

@hartwork hartwork left a comment

Choose a reason for hiding this comment

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

I found this verbatim at https://pypi.org/project/brotlicffi/#using-brotlicffi-in-projects , seems like a good move, I wish upstream would explain their reasoning. Did you find any or know the rationale for this?

@ahesford
Copy link
Author

I suppose the rationale is that there's no sense bridging with CFFI when a native CPython extension exists to do the job.

@kloczek
Copy link

kloczek commented Dec 25, 2023

Looks like this PR needs to be updated for current master.

@ahesford
Copy link
Author

ahesford commented Feb 2, 2024

Ping

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