8000 bpo-44800: rename _PyInterpreterFrame to _Py_frame by ncoghlan · Pull Request #31987 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-44800: rename _PyInterpreterFrame to _Py_frame #31987

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension 8000

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ReST is not Markdown
  • Loading branch information
ncoghlan committed Mar 19, 2022
commit d2bc8448a2c17d84579fb409a463a3573aa9d6e3
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Renamed `_PyInterpreterFrame` as `_Py_frame` to emphasise its close
association with `PyFrameObject` (they're conceptually the same thing, but
Renamed ``_PyInterpreterFrame`` as ``_Py_frame`` to emphasise its close
association with ``PyFrameObject`` (they're conceptually the same thing, but
split into a Python object struct and a C data struct as a performance
optimisation).

The `f_` prefix has been removed from all `_Py_frame` fields that previously
The ``f_`` prefix has been removed from all ``_Py_frame`` fields that previously
used it, so the presence or absence of the prefix provides a way to infer
the exact type of a frame pointer when reading an isolated snippet in a code
diff.
0