Commit a400d8a
committed
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).1 parent b2b42dd commit a400d8a
1 file changed
Lines changed: 13 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2740 | 2740 | | |
2741 | 2741 | | |
2742 | 2742 | | |
2743 | | - | |
2744 | 2743 | | |
2745 | 2744 | | |
2746 | 2745 | | |
| |||
2777 | 2776 | | |
2778 | 2777 | | |
2779 | 2778 | | |
2780 | | - | |
2781 | | - | |
2782 | | - | |
2783 | | - | |
2784 | | - | |
2785 | | - | |
| 2779 | + | |
2786 | 2780 | | |
2787 | | - | |
| 2781 | + | |
2788 | 2782 | | |
2789 | 2783 | | |
2790 | | - | |
2791 | | - | |
2792 | | - | |
2793 | | - | |
| 2784 | + | |
2794 | 2785 | | |
2795 | | - | |
2796 | | - | |
2797 | | - | |
2798 | | - | |
2799 | | - | |
| 2786 | + | |
| 2787 | + | |
| 2788 | + | |
| 2789 | + | |
| 2790 | + | |
| 2791 | + | |
| 2792 | + | |
| 2793 | + | |
2800 | 2794 | | |
2801 | | - | |
| 2795 | + | |
| 2796 | + | |
2802 | 2797 | | |
2803 | 2798 | | |
2804 | 2799 | | |
2805 | | - | |
2806 | | - | |
2807 | 2800 | | |
2808 | 2801 | | |
2809 | 2802 | | |
| |||
0 commit comments