From 5d8b759909539cdf8a1c151ae52259424a149fc5 Mon Sep 17 00:00:00 2001 From: Matt Wozniski Date: Wed, 22 Jul 2026 16:25:18 -0400 Subject: [PATCH] Update for 3.15.0b4 An ABI-breaking change was introduced in Python 3.15.0b4 that changed the layout of the `_Py_DebugOffsets` structure. Update to require the new layout. Signed-off-by: Matt Wozniski --- src/pystack/_pystack/cpython/runtime.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pystack/_pystack/cpython/runtime.h b/src/pystack/_pystack/cpython/runtime.h index 26f1821a..79e4cbab 100644 --- a/src/pystack/_pystack/cpython/runtime.h +++ b/src/pystack/_pystack/cpython/runtime.h @@ -669,6 +669,7 @@ typedef struct _Py_DebugOffsets uint64_t current_frame; uint64_t base_frame; uint64_t last_profiled_frame; + uint64_t last_profiled_frame_seq; // Added in 3.15.0b4 uint64_t thread_id; uint64_t native_thread_id; uint64_t datastack_chunk;