MCPcopy Index your code
hub / github.com/python/cpython / is_live

Method is_live

Tools/cases_generator/stack.py:459–466  ·  view source on GitHub ↗
(var: Local)

Source from the content-addressed store, hash-verified

457
458 @staticmethod
459 def is_live(var: Local) -> bool:
460 return (
461 var.name != "unused" and
462 (
463 var.in_local or
464 var.memory_offset is not None
465 )
466 )
467
468 def clear_inputs(self, reason:str) -> None:
469 while len(self.inputs) > self.peeks:

Callers 2

clear_inputsMethod · 0.95
clear_dead_inputsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected