[Python-Dev] Where are locals initialized?

Skip Montanaro skip@pobox.com (Skip Montanaro)
Sun, 26 Aug 2001 21:01:32 -0500


I'm probably just too tired to be looking at this right now, but I'm having
no luck figuring out just where local variables are initialized.  In 1.5.2
eval_code2 is called with all the bits and pieces needed to create a frame
and does so.  In 2.1 eval_frame is called with an already initialized frame.
Either way I expected to see a call to PyFrame_LocalsToFast in or around
PyFrame_New, but the places where I see it don't seem like the logical place
(to my misfiring brain anyway).

Any pointers appreciated,

Skip