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

gh-144741: Fix test_frame_pointer_unwind for libpython#145499

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:mainfromvstinner:classify_address
Mar 4, 2026
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
Fix ``test_frame_pointer_unwind`` when Python is built with
:option:`--enable-shared`. Classify also libpython frames as ``"python"``.
Patch by Victor Stinner.
4 changes: 4 additions & 0 deletionsModules/_testinternalcapi.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -196,6 +196,10 @@ classify_address(uintptr_t addr, int jit_enabled, PyInterpreterState *interp)
if (strncmp(base,"python",6)==0) {
return"python";
}
// Match "libpython3.15.so.1.0"
if (strncmp(base,"libpython",9)==0) {
return"python";
}
return"other";
}
#ifdef_Py_JIT
Expand Down
Loading

[8]ページ先頭

©2009-2026 Movatter.jp