<div dir="ltr">In x86 assembly there is a concept of instruction pointer (IP) that indicates where a computer is in its program sequence (c) <a href="http://en.wikipedia.org/wiki/Program_counter">http://en.wikipedia.org/wiki/Program_counter</a><br>
<div><br><br>I wonder if it is possible to implement a similar thing in Python? Not the instruction pointer, which points to the linear memory address space (and therefore is a 1D structure), but a 2D Execution Progress Counter, which counts position in program sequence for every stack level?<br clear="all">
<div><div><div>-- <br>anatoly t.</div>
</div></div></div></div>