##// END OF EJS Templates
Merge pull request #13269 from kkirsche/patch-1...
Matthias Bussonnier -
r27036:ebc1e70f merge
parent child Browse files
Show More
@@ -505,7 +505,7 b' class TerminalInteractiveShell(InteractiveShell):'
505 # while/true inside which will freeze the prompt.
505 # while/true inside which will freeze the prompt.
506
506
507 try:
507 try:
508 old_loop = asyncio.get_event_loop()
508 old_loop = asyncio.get_running_loop()
509 except RuntimeError:
509 except RuntimeError:
510 # This happens when the user used `asyncio.run()`.
510 # This happens when the user used `asyncio.run()`.
511 old_loop = None
511 old_loop = None
General Comments 0
You need to be logged in to leave comments. Login now