##// END OF EJS Templates
Fix for %run -d in Python 3. Reviewed in PR #1599
Thomas Kluyver -
Show More
@@ -1715,8 +1715,9 b' Currently the magic system has the following functions:\\n"""'
1715 1715 # Start file run
1716 1716 print "NOTE: Enter 'c' at the",
1717 1717 print "%s prompt to start your script." % deb.prompt
1718 ns = {'execfile': py3compat.execfile, 'prog_ns': prog_ns}
1718 1719 try:
1719 deb.run('execfile("%s")' % filename, prog_ns)
1720 deb.run('execfile("%s", prog_ns)' % filename, ns)
1720 1721
1721 1722 except:
1722 1723 etype, value, tb = sys.exc_info()
General Comments 0
You need to be logged in to leave comments. Login now