[Python-checkins] gh-96653: Remove duplicate CALL_STAT_INC(inlined_py_calls) in BINARY_SUBSCR_GETITEM (GH-96654)

Fidget-Spinner webhook-mailer at python.org
Thu Sep 8 04:22:41 EDT 2022


https://github.com/python/cpython/commit/4f523a70543a79a3bbca9bf2ce9abb8fad0aaad2
commit: 4f523a70543a79a3bbca9bf2ce9abb8fad0aaad2
branch: main
author: Itamar Ostricher <itamarost at gmail.com>
committer: Fidget-Spinner <kenjin at python.org>
date: 2022-09-08T16:22:32+08:00
summary:

gh-96653: Remove duplicate CALL_STAT_INC(inlined_py_calls) in BINARY_SUBSCR_GETITEM (GH-96654)

files:
M Python/ceval.c

diff --git a/Python/ceval.c b/Python/ceval.c
index af47e091bc7..41320e9239c 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -1659,7 +1659,6 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
             STAT_INC(BINARY_SUBSCR, hit);
             Py_INCREF(getitem);
             _PyInterpreterFrame *new_frame = _PyFrame_PushUnchecked(tstate, getitem);
-            CALL_STAT_INC(inlined_py_calls);
             STACK_SHRINK(2);
             new_frame->localsplus[0] = container;
             new_frame->localsplus[1] = sub;



More information about the Python-checkins mailing list