python/_brotli.c


Log

Author Commit Date CI Message
Evgenii Kliuchnikov ed93810e 2025-10-02T01:50:29 support multi-phase initialization PiperOrigin-RevId: 814128632
Evgenii Kliuchnikov 1f6ab76b 2025-09-29T05:11:53 use module-bound exception PiperOrigin-RevId: 812739918
Evgenii Kliuchnikov 14068984 2025-09-25T07:59:41 Build and test with PY2.7 PiperOrigin-RevId: 811352084
Evgenii Kliuchnikov 9686382f 2025-09-24T03:52:03 PY: continue renovation of extension Fixed unchecked malloc for "tail" input data. Fixed inconsistencies in docstrings. Rewritten "growable buffer" to C-code, so it could run without acquiring GIL. Breaking changes: - native object allocation failures now handled at object creation time - some lower level exceptions (e.g. OOM) are not shadowed by brotli.error PiperOrigin-RevId: 810813664
Evgenii Kliuchnikov 41a22f07 2025-09-08T09:15:12 modernize PY3 class definition PiperOrigin-RevId: 804460135
Evgenii Kliuchnikov 98a89b15 2025-09-05T07:57:28 temporary rollback PiperOrigin-RevId: 803462595
Evgenii Kliuchnikov 35d4992a 2025-09-05T04:41:26 PY: reformat _brotli.c PiperOrigin-RevId: 803412055
Eugene Kliuchnikov 79ea7296 2025-08-29T15:06:37 Merge branch 'master' into master
Evgenii Kliuchnikov 9a4ba593 2025-08-15T06:18:13 internal change PiperOrigin-RevId: 795452145
Domingo Dirutigliano 964ca075 2025-06-13T14:57:19 fix module import in set exception + setup.py compatible with python2
Domingo Dirutigliano ddb803ac 2025-06-13T14:13:12 using static function
Domingo Dirutigliano 998a28bd 2025-06-13T14:09:51 using module state for error handling
Domingo Dirutigliano e45f18cc 2025-03-15T11:23:32 DECREF on exception raise
Domingo Dirutigliano c710db05 2025-03-15T09:13:46 enabled support to 3.12 per GIL interpeter using multistage module inizialization
Robert Obryk eb3a31e2 2024-09-18T15:25:06 add max_length to Python streaming decompression
Robert Obryk 28ce91ca 2024-09-17T16:50:39 add size limit to buffer
Brotli d019271c 2025-01-06T03:05:20 Copybara import of the project: -- f1bdfaa803e62ce3608e0226c98da1cf20abebdc by Robert Obryk <robryk@google.com>: add size limit to buffer -- ef8922cee72a1c0b0c35ed109ae9d2d637177bfe by Robert Obryk <robryk@google.com>: add max_length to Python streaming decompression PiperOrigin-RevId: 712463460
Robert Obryk ef8922ce 2024-09-18T15:25:06 add max_length to Python streaming decompression
Robert Obryk f1bdfaa8 2024-09-17T16:50:39 add size limit to buffer
Ma Lin c8df4b30 2022-12-29T21:07:16 Python: use a new output buffer code (#902) Currently, the output buffer is a std::vector<uint8_t>. When the buffer grows, resizing will cause unnecessary memcpy(). This change uses a list of bytes object to represent output buffer, can avoid the extra overhead of resizing. In addition, C++ code can be removed, it's a pure C extension.