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