[issue44800] Code readability: rename InterpreterFrame to `_Py_framedata`

Nick Coghlan report at bugs.python.org
Sun Apr 3 01:27:28 EDT 2022


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Core dev forum thread: https://discuss.python.org/t/proposal-rename-pyinterpreterframe-struct-as-py-framedata/14213

The conclusion from the forum thread and associated PRs was that any of the further renaming proposed didn't provide sufficient additional clarity to justify further code churn in a semi public API.

 As a result, the final PR just documents the status quo in the internal C API frame header (since the conventions arising from the code-churn-minimising migration to a split data structure is hard to infer just from reading the code): https://github.com/python/cpython/pull/32281

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44800>
_______________________________________


More information about the Python-bugs-list mailing list