commit | bd5cbf866f011dc170841f6eb121d74610fcc7b6 | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Wed Feb 05 22:39:29 2003 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Wed Feb 05 22:39:29 2003 +0000 |
tree | 4cc3635e881c97d32f63013ef08f450d2d9d023e | |
parent | 64edd6ac1ddb29f7817ee44e9b376b096ffa1d55 [diff] |
Refactor the logic for setting f_builtins. For the case where the current globals match the previous frame's globals, eliminates three tests in two if statements. For the case where we just get __builtins__ from a module, eliminate a couple of tests.