mirror of
https://github.com/python/cpython.git
synced 2025-10-02 21:25:24 +00:00
Kill execfile(), use exec() instead
This commit is contained in:
parent
41eaedd361
commit
016880229a
98 changed files with 179 additions and 341 deletions
|
@ -14,7 +14,7 @@ def main():
|
|||
scanner.scan()
|
||||
scanner.close()
|
||||
print "=== Testing definitions output code ==="
|
||||
execfile(defsoutput, {}, {})
|
||||
exec(open(defsoutput).read(), {}, {})
|
||||
print "=== Done scanning and generating, now doing 'import menusupport' ==="
|
||||
import menusupport
|
||||
print "=== Done. It's up to you to compile Menumodule.c ==="
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue