Commit e0e8f28
[3.14] pythongh-134768: Fix definition of
pythongh-134768: Fix definition of `mt_continue_should_break()` (pythonGH-134769)
In 121ed71, 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 2f2bee2)
Fixes: 121ed71
Co-authored-by: Sam James <[email protected]>mt_continue_should_break() (pythonGH-134769) (python#134916)1 parent 370f91b commit e0e8f28
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
| 515 | + | |
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
| |||
0 commit comments