cpython/Modules/_zstd
Miss Islington (bot) e0e8f28f27
[3.14] gh-134768: Fix definition of mt_continue_should_break() (GH-134769) (#134916)
gh-134768: Fix definition of `mt_continue_should_break()` (GH-134769)

In 121ed71f4e, mt_continue_should_break
was changed to be guarded by `Py_DEBUG`, but it's used in `compress_mt_continue_lock_held`
with just `assert`, so it needs to be available when `NDEBUG` is undefined
too.

`Py_DEBUG` implies `NDEBUG` is undefined, so we can check just that.
(cherry picked from commit 2f2bee2111)


Fixes: 121ed71f4e

Co-authored-by: Sam James <sam@gentoo.org>
2025-05-30 05:08:43 +00:00
..
clinic [3.14] gh-132983: Convert dict_content to take Py_buffer in `ZstdDict()` (GH-133924) (#134723) 2025-05-28 17:25:35 +01:00
_zstdmodule.c [3.14] gh-132983: Split `_zstd_set_c_parameters` (GH-133921) (#134838) 2025-05-28 17:25:06 +01:00
_zstdmodule.h [3.14] gh-132983: Split `_zstd_set_c_parameters` (GH-133921) (#134838) 2025-05-28 17:25:06 +01:00
buffer.h [3.14] gh-132983: Make _zstd C code PEP 7 compliant (GH-134605) (#134609) 2025-05-24 02:28:40 +00:00
compressor.c [3.14] gh-134768: Fix definition of mt_continue_should_break() (GH-134769) (#134916) 2025-05-30 05:08:43 +00:00
decompressor.c [3.14] gh-132983: Convert dict_content to take Py_buffer in `ZstdDict()` (GH-133924) (#134723) 2025-05-28 17:25:35 +01:00
zstddict.c [3.14] gh-132983: Convert dict_content to take Py_buffer in `ZstdDict()` (GH-133924) (#134723) 2025-05-28 17:25:35 +01:00
zstddict.h [3.14] gh-132983: Convert dict_content to take Py_buffer in `ZstdDict()` (GH-133924) (#134723) 2025-05-28 17:25:35 +01:00