mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +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
|
@ -15,7 +15,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 ctlsupport' ==="
|
||||
import ctlsupport
|
||||
print "=== Done. It's up to you to compile Ctlmodule.c ==="
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue