]> granicus.if.org Git - python/commit
*Don't* kill all local variables on function exit. This will be done
authorGuido van Rossum <guido@python.org>
Fri, 14 Feb 1997 16:32:14 +0000 (16:32 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 14 Feb 1997 16:32:14 +0000 (16:32 +0000)
commit0d85be19e29788d6221295e8910f5d9a671eac85
treea92d27add36abcf040645d8addce50cda5bb739b
parent36b9f7908a168957d151595817b2c06a2fcb9a40
*Don't* kill all local variables on function exit.  This will be done
by the frameobject dealloc when it is time for the locals to go.  When
there's still a traceback object referencing this stack frame, we
don't want the local variables to disappear yet.

(Hmm...  Shouldn't they be copied to the f_locals dictionary?)
Python/ceval.c