Message406573
This snippet occurs a couple of times in ceval.c (BINARY_SUBSCR_GETITEM and CALL_FUNCTION_PY_SIMPLE):
new_frame->previous = frame;
frame = cframe.current_frame = new_frame;
new_frame->depth = frame->depth + 1;
Maybe I'm reading it wrong, but I think the last line is just setting new_frame->depth++, leaving new_frame->depth = 1 instead of frame->previous->depth + 1.
I think the second and third lines should be swapped? |
|
| Date |
User |
Action |
Args |
| 2021-11-19 07:21:37 | Dennis Sweeney | set | recipients:
+ Dennis Sweeney, gvanrossum, Mark.Shannon, pablogsal, brandtbucher |
| 2021-11-19 07:21:37 | Dennis Sweeney | set | messageid: <1637306497.87.0.727785947967.issue45829@roundup.psfhosted.org> |
| 2021-11-19 07:21:37 | Dennis Sweeney | link | issue45829 messages |
| 2021-11-19 07:21:37 | Dennis Sweeney | create | |
|