MCPcopy Index your code
hub / github.com/python/mypy / except_body

Function except_body

mypyc/irbuild/statement.py:1157–1164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1155 body()
1156
1157 def except_body() -> None:
1158 builder.assign(exc, builder.false(), line)
1159 out_block, reraise_block = BasicBlock(), BasicBlock()
1160 builder.add_bool_branch(maybe_natively_call_exit(exc_info=True), out_block, reraise_block)
1161 builder.activate_block(reraise_block)
1162 builder.call_c(reraise_exception_op, [], NO_TRACEBACK_LINE_NO)
1163 builder.add(Unreachable())
1164 builder.activate_block(out_block)
1165
1166 def finally_body() -> None:
1167 out_block, exit_block = BasicBlock(), BasicBlock()

Callers

nothing calls this directly

Calls 15

BasicBlockClass · 0.90
UnreachableClass · 0.90
RegisterClass · 0.90
LoadAddressClass · 0.90
BranchClass · 0.90
maybe_natively_call_exitFunction · 0.85
assignMethod · 0.45
falseMethod · 0.45
add_bool_branchMethod · 0.45
activate_blockMethod · 0.45
call_cMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…