| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 55b196a commit 208bbd2
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2646,14 +2646,12 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) | |||
| 2646 | 2646 | _build_map_unpack: { | |
| 2647 | 2647 | int with_call = opcode == BUILD_MAP_UNPACK_WITH_CALL; | |
| 2648 | 2648 | int num_maps; | |
| 2649 | - int function_location; | ||
| 2650 | 2649 | int i; | |
| 2651 | 2650 | PyObject *sum = PyDict_New(); | |
| 2652 | 2651 | if (sum == NULL) | |
| 2653 | 2652 | goto error; | |
| 2654 | 2653 | if (with_call) { | |
| 2655 | 2654 | num_maps = oparg & 0xff; | |
| 2656 | - function_location = (oparg>>8) & 0xff; | ||
| 2657 | 2655 | } | |
| 2658 | 2656 | else { | |
| 2659 | 2657 | num_maps = oparg; | |
@@ -2666,6 +2664,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) | |||
| 2666 | 2664 | ||
| 2667 | 2665 | if (intersection == NULL) { | |
| 2668 | 2666 | if (PyErr_ExceptionMatches(PyExc_AttributeError)) { | |
| 2667 | + int function_location = (oparg>>8) & 0xff; | ||
| 2669 | 2668 | PyObject *func = ( | |
| 2670 | 2669 | PEEK(function_location + num_maps)); | |
| 2671 | 2670 | PyErr_Format(PyExc_TypeError, | |
@@ -2682,6 +2681,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) | |||
| 2682 | 2681 | if (PySet_GET_SIZE(intersection)) { | |
| 2683 | 2682 | Py_ssize_t idx = 0; | |
| 2684 | 2683 | PyObject *key; | |
| 2684 | + int function_location = (oparg>>8) & 0xff; | ||
| 2685 | 2685 | PyObject *func = PEEK(function_location + num_maps); | |
| 2686 | 2686 | Py_hash_t hash; | |
| 2687 | 2687 | _PySet_NextEntry(intersection, &idx, &key, &hash); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments