diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2025-05-30 05:08:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-30 05:08:43 (GMT) |
commit | e0e8f28f27bb447ffd021e4d4fde0ddd7aa5500b (patch) | |
tree | ccfe6c374bdb5d6779653001a4c1729f2495faef /Python/gc_gil.c | |
parent | 370f91b94671c1b0936e827add79fbaf7c96b913 (diff) | |
download | cpython-e0e8f28f27bb447ffd021e4d4fde0ddd7aa5500b.zip cpython-e0e8f28f27bb447ffd021e4d4fde0ddd7aa5500b.tar.gz cpython-e0e8f28f27bb447ffd021e4d4fde0ddd7aa5500b.tar.bz2 |
[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 121ed71f4e395948d313249b2ad33e1e21581f8a, 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 2f2bee21118adce653ee5bc4eb31d30327465966)
Fixes: 121ed71f4e395948d313249b2ad33e1e21581f8a
Co-authored-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'Python/gc_gil.c')
0 files changed, 0 insertions, 0 deletions