Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.14] gh-134768: Fix definition ofmt_continue_should_break() (GH-134769)#134916

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gpshead merged 1 commit intopython:3.14frommiss-islington:backport-2f2bee2-3.14
May 30, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedMay 30, 2025
edited by bedevere-appbot
Loading

In121ed71, mt_continue_should_break
was changed to be guarded byPy_DEBUG, but it's used incompress_mt_continue_lock_held
with justassert, so it needs to be available whenNDEBUG is undefined
too.

Py_DEBUG impliesNDEBUG is undefined, so we can check just that.
(cherry picked from commit2f2bee2)

Co-authored-by: Sam Jamessam@gentoo.org
Fixes:121ed71

…onGH-134769)In121ed71, mt_continue_should_breakwas 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 undefinedtoo.`Py_DEBUG` implies `NDEBUG` is undefined, so we can check just that.(cherry picked from commit2f2bee2)Co-authored-by: Sam James <sam@gentoo.org>Fixes:121ed71
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@miss-islington@gpshead@thesamesam

[8]ページ先頭

©2009-2025 Movatter.jp