4 ms·
> not only it is as dynamic as Python, at any given moment can the image change its contents, and via messages like becomes: an object completely changes its in
by scroot 7y ago
> not only it is as dynamic as Python, at any given moment can the image change its contents, and via messages like becomes: an object completely changes its internal structure.
Another thing: in Smalltalk the idea of a "stack frame" is actually encapsulated in an object called Context, and you can always inspect the current context. It's just an object like everything else in the system. I don't think Python has something like that, but I could be mistaken.
- laurencerowe 7y agoYou can walk and inspect the stack using sys._getframe() forever or the more friendly stack function in the inspect module. * https://docs.python.org/3/library/sys.html#sys._getframe https://docs.python.org/3/library/sys.html#sys._getframe * https://docs.python.org/3/library/inspect.html#the-interpreter-stack https://docs.python.org/3/library/inspect.html#the-interpret...