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.13] gh-133256: Add _Py_NONSTRING macro (#133257)#135135

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
vstinner merged 1 commit intopython:3.13fromvstinner:nonstring13
Jun 4, 2025

Conversation

vstinner
Copy link
Member

@vstinnervstinner commentedJun 4, 2025
edited by bedevere-appbot
Loading

Fix GCC 15 compiler warnings such as:

In file included from Python/pylifecycle.c:26:Include/internal/pycore_runtime.h:47:26: warning:initializer-string for array of 'char' truncates NUL terminatorbut destination lacks 'nonstring' attribute (9 chars into 8available) [-Wunterminated-string-initialization]   47 | #define _Py_Debug_Cookie "xdebugpy"      |                          ^~~~~~~~~~

(cherry picked from commite26bafd)

Fix GCC 15 compiler warnings such as:    In file included from Python/pylifecycle.c:26:    Include/internal/pycore_runtime.h:47:26: warning:    initializer-string for array of 'char' truncates NUL terminator    but destination lacks 'nonstring' attribute (9 chars into 8    available) [-Wunterminated-string-initialization]       47 | #define _Py_Debug_Cookie "xdebugpy"          |                          ^~~~~~~~~~(cherry picked from commite26bafd)
@vstinnervstinner changed the titlegh-133256: Add _Py_NONSTRING macro (#133257)[3.13) gh-133256: Add _Py_NONSTRING macro (#133257)Jun 4, 2025
@vstinnervstinner changed the title[3.13) gh-133256: Add _Py_NONSTRING macro (#133257)[3.13] gh-133256: Add _Py_NONSTRING macro (#133257)Jun 4, 2025
@vstinnervstinner merged commit659631f intopython:3.13Jun 4, 2025
38 checks passed
@vstinnervstinner deleted the nonstring13 branchJune 4, 2025 15:10
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ericsnowcurrentlyericsnowcurrentlyAwaiting requested review from ericsnowcurrentlyericsnowcurrently is a code owner

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@vstinner

[8]ページ先頭

©2009-2025 Movatter.jp