]> granicus.if.org Git - python/commit
Fix a bug in exec_statement() noted incidentally by Tim Peters in
authorGuido van Rossum <guido@python.org>
Wed, 12 Jan 2000 22:45:54 +0000 (22:45 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 12 Jan 2000 22:45:54 +0000 (22:45 +0000)
commita400d8a96d44904ed1bb57f5a15ca6ad10a8e091
treebc2b89714273a95ae91166c239842a09d7bcb3ef
parentb2b42ddcb1a09c58fdbd638c6fcdae5af13d7965
Fix a bug in exec_statement() noted incidentally by Tim Peters in
PR#175 -- when exec is passed a code object, it didn't sync the locals
from the dictionary back into their fast representation.

Also took the time to remove some repetitive code there and to do the
syncing even when an exception is raised (since a partial effect
should still be synced).
Python/ceval.c