[PR #446] [MERGED] Python: Create an extension Compressor object #1064

Open
opened 2026-01-29 20:52:21 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/446
Author: @nicksay
Created: 10/17/2016
Status: Merged
Merged: 10/18/2016
Merged by: @eustas

Base: masterHead: py-3-compressor-object


📝 Commits (1)

  • 595a524 Python: Create an extension Compressor object

📊 Changes

2 files changed (+193 additions, -52 deletions)

View changed files

📝 python/_brotli.cc (+165 -51)
📝 python/brotli.py (+28 -1)

📄 Description

  • Create a Compressor object in the extension module
  • Move the compress method into the native module and use
    the new Compressor object to do the compression

Note: This does not change the module-level Python API. The
Compressor object will not be publicly exposed until its
methods have stabilized.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/google/brotli/pull/446 **Author:** [@nicksay](https://github.com/nicksay) **Created:** 10/17/2016 **Status:** ✅ Merged **Merged:** 10/18/2016 **Merged by:** [@eustas](https://github.com/eustas) **Base:** `master` ← **Head:** `py-3-compressor-object` --- ### 📝 Commits (1) - [`595a524`](https://github.com/google/brotli/commit/595a5246b4b2ab8ddb8618bb3f11080898d9e180) Python: Create an extension Compressor object ### 📊 Changes **2 files changed** (+193 additions, -52 deletions) <details> <summary>View changed files</summary> 📝 `python/_brotli.cc` (+165 -51) 📝 `python/brotli.py` (+28 -1) </details> ### 📄 Description - Create a `Compressor` object in the extension module - Move the `compress` method into the native module and use the new `Compressor` object to do the compression Note: This does not change the module-level Python API. The `Compressor` object will not be publicly exposed until its methods have stabilized. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 20:52:21 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1064