You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This check isn't necessary and has a performance cost that's not made up for by the slightly faster PyStackRef_CLOSE() calls or PyStackRef_Is() checks.
We should simplify PyStackRef_FromPyObjectSteal so that it creates _PyStackRef directly from the PyObject * without setting any tag bits.
Activity
pythongh-127022: Simplify `PyStackRef_FromPyObjectSteal`
pythongh-127022: Simplify `PyStackRef_FromPyObjectSteal`
colesbury commentedon Nov 19, 2024
I think this will also allow us to simplify or remove
_PyEvalFramePushAndInit_UnTagged.gh-127022: Simplify `PyStackRef_FromPyObjectSteal` (#127024)
pythongh-127022: Remove `_PyEvalFramePushAndInit_UnTagged`
gh-127022: Remove `_PyEvalFramePushAndInit_UnTagged` (gh-127168)
pythongh-127022: Simplify `PyStackRef_FromPyObjectSteal` (python#127024)
pythongh-127022: Remove `_PyEvalFramePushAndInit_UnTagged` (pythongh-…