New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
with asyncio still print still after ctrl-c in ipython #205
Comments
may relate to ipython/ipython#13850 |
Interesting... I can reproduce it, but I'm not sure why this happens. on 5: ---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
~/.pyenv/versions/3.7.12/envs/alive37/lib/python3.7/site-packages/IPython/core/async_helpers.py in __call__(self, coro)
36 Handler for asyncio autoawait
37 """
---> 38 return self.loop.run_until_complete(coro)
39
40 def __str__(self):
~/.pyenv/versions/3.7.12/lib/python3.7/asyncio/base_events.py in run_until_complete(self, future)
572 future.add_done_callback(_run_until_complete_cb)
573 try:
--> 574 self.run_forever()
575 except:
576 if new_task and future.done() and not future.cancelled():
~/.pyenv/versions/3.7.12/lib/python3.7/asyncio/base_events.py in run_forever(self)
539 events._set_running_loop(self)
540 while True:
--> 541 self._run_once()
542 if self._stopping:
543 break
~/.pyenv/versions/3.7.12/lib/python3.7/asyncio/base_events.py in _run_once(self)
1748 timeout * 1e3, dt * 1e3)
1749 else:
-> 1750 event_list = self._selector.select(timeout)
1751 self._process_events(event_list)
1752
~/.pyenv/versions/3.7.12/lib/python3.7/selectors.py in select(self, timeout)
556 ready = []
557 try:
--> 558 kev_list = self._selector.control(None, max_ev, timeout)
559 except InterruptedError:
560 return ready
KeyboardInterrupt: |
I'm closing this one because unfortunately, I can't do anything about it. |
The text was updated successfully, but these errors were encountered: