← 返回首页
gh-91731: Don't define 'static_assert' in C++11 where is a keyword to avoid UB by pablogsal · Pull Request #93700 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

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

Provide feedback

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

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

gh-91731: Don't define 'static_assert' in C++11 where is a keyword to avoid UB#93700

Merged
pablogsal merged 2 commits into
python:mainfrom
pablogsal:91731
Jun 13, 2022
Merged

gh-91731: Don't define 'static_assert' in C++11 where is a keyword to avoid UB#93700
pablogsal merged 2 commits into
python:mainfrom
pablogsal:91731

Conversation

Copy link
Copy Markdown
Member

No description provided.

Comment thread Include/pymacro.h Show resolved Hide resolved
Comment thread Include/pymacro.h Outdated Show resolved Hide resolved
Comment thread Include/pymacro.h Show resolved Hide resolved

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

LGTM.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

You can move this NEWS entry to Build, or C API, category.

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

Copy link
Copy Markdown
Contributor

Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

pablogsal added needs backport to 3.11 only security fixes and removed needs backport to 3.11 only security fixes labels Jun 16, 2022

Copy link
Copy Markdown
Contributor

Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

pablogsal deleted the 91731 branch June 16, 2022 14:25

Copy link
Copy Markdown

GH-93907 is a backport of this pull request to the 3.11 branch.

bedevere-bot removed the needs backport to 3.11 only security fixes label Jun 16, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Footer

© 2026 GitHub, Inc.