File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2646,14 +2646,12 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
26462646 _build_map_unpack : {
26472647 int with_call = opcode == BUILD_MAP_UNPACK_WITH_CALL ;
26482648 int num_maps ;
2649- int function_location ;
26502649 int i ;
26512650 PyObject * sum = PyDict_New ();
26522651 if (sum == NULL )
26532652 goto error ;
26542653 if (with_call ) {
26552654 num_maps = oparg & 0xff ;
2656- function_location = (oparg >>8 ) & 0xff ;
26572655 }
26582656 else {
26592657 num_maps = oparg ;
@@ -2666,6 +2664,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
26662664
26672665 if (intersection == NULL ) {
26682666 if (PyErr_ExceptionMatches (PyExc_AttributeError )) {
2667+ int function_location = (oparg >>8 ) & 0xff ;
26692668 PyObject * func = (
26702669 PEEK (function_location + num_maps ));
26712670 PyErr_Format (PyExc_TypeError ,
@@ -2682,6 +2681,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
26822681 if (PySet_GET_SIZE (intersection )) {
26832682 Py_ssize_t idx = 0 ;
26842683 PyObject * key ;
2684+ int function_location = (oparg >>8 ) & 0xff ;
26852685 PyObject * func = PEEK (function_location + num_maps );
26862686 Py_hash_t hash ;
26872687 _PySet_NextEntry (intersection , & idx , & key , & hash );
You can’t perform that action at this time.
0 commit comments