python Flashcards

1
Q

Each call to a python function pushes a frame object to the stack. What’s in the frame?

A

The local variables for that function
Space for temporary values (the evaluation stack)
References to the previous frame, globals, builtins, etc.
Debugging information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly