DELETE_ATTR
DELETE_ATTR can be replaced with PUSH_NULL; STORE_ATTR
PUSH_NULL; STORE_ATTR
Since DELETE_ATTR just calls PyObject_DelAttr(v, name) which calls PyObject_SetAttr(v, name, NULL), no other changes are needed to do this.
PyObject_DelAttr(v, name)
PyObject_SetAttr(v, name, NULL)
This is a minor feature, which does not need previous discussion elsewhere
gh-145855: Remove the DELETE_ATTR bytecode (GH-146216)
Activity
gh-145855: Remove the DELETE_ATTR bytecode (GH-146216)