##// END OF EJS Templates
dont rely on other parsing
Matthias Bussonnier -
Show More
@@ -3227,7 +3227,7 b' class InteractiveShell(SingletonConfigurable):'
3227 for i, node in enumerate(to_run_interactive):
3227 for i, node in enumerate(to_run_interactive):
3228 print('B: interactive, async=', _async, nodelist)
3228 print('B: interactive, async=', _async, nodelist)
3229 mod = ast.Interactive([node])
3229 mod = ast.Interactive([node])
3230 with compiler.extra_flags(ast.ast.PyCF_ALLOW_TOP_LEVEL_AWAIT if _async else 0x0):
3230 with compiler.extra_flags(ast.PyCF_ALLOW_TOP_LEVEL_AWAIT if self.autoawait else 0x0):
3231 code = compiler(mod, cell_name, "single")
3231 code = compiler(mod, cell_name, "single")
3232 asy = compare(code)
3232 asy = compare(code)
3233
3233
General Comments 0
You need to be logged in to leave comments. Login now