Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add break and more info in the comment
  • Loading branch information
iritkatriel committed Jul 5, 2022
commit 46a4a9b4412af7837b7d69a66fa5e9cbfb9c6882
4 changes: 4 additions & 0 deletions Objects/frameobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,12 @@ mark_stacks(PyCodeObject *code_obj, int len)
/* These instructions only appear in exception handlers, which
* skip this switch ever since the move to zero-cost exceptions
* (their stack remains UNINITIALIZED because nothing sets it).
*
* Note that explain_incompatible_stack interprets an
* UNINITIALIZED stack as belonging to an exception handler.
*/
Py_UNREACHABLE();
Comment thread
iritkatriel marked this conversation as resolved.
break;
case RETURN_VALUE:
case RAISE_VARARGS:
case RERAISE:
Expand Down