We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 025f686 commit e74b551Copy full SHA for e74b551
src/pystack/_pystack/pyframe.cpp
@@ -134,6 +134,12 @@ FrameObject::resolveLocalVariables()
134
return;
135
}
136
137
+ if (d_manager->versionIsAtLeast(3, 14)) {
138
+ // In Python 3.14, the local variable is a PyStackRef: a pointer
139
+ // with extra flags set in its low bits. Ignore the flags.
140
+ addr = addr & (~3);
141
+ }
142
+
143
std::string key = d_code->Varnames()[index];
144
145
LOG(DEBUG) << "Copying local variable at address " << std::hex << std::showbase << addr;
0 commit comments