We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Kernels are uninterruptible in QtConsole using Python 3.7.
For example, the following code is run inside the terminal:
In [1]: import time In [2]: while True: ...: time.sleep(0.1)
following which I am unable to stop execution, either by pressing Ctrl-C or the "Interrupt current Kernel" menu item.
Ctrl-C
Running the same code in ipython in a console window succeeds in stopping execution.
This issue appears in the latest Spyder as well, and is reported here: spyder-ide/spyder#8013 but seems to be a QtConsole bug.
Windows 10 Python 3.7.1 (default, Oct 23 2018, 22:56:47) [MSC v.1912 64 bit (AMD64)] IPython 7.1.1 ipykernel 5.1.0 qtconsole 4.4.2
conda create -n py37clean python=3.7 conda install qtconsole jupyter qtconsole
conda create -n py36clean python=3.6 conda install qtconsole jupyter qtconsole
The text was updated successfully, but these errors were encountered:
@spauka, does this also happen in the Jupyter notebook?
Sorry, something went wrong.
@ccordoba12 Just tried it out in a notebook, and it does! The kernel is uninterruptible with both "Ctrl-C" and the various interrupt buttons.
Looks like the issue might run even deeper than qtconsole. Any idea what the source might be?
This was fixed in the ipython repo last month: jupyter/jupyter_client#408
Yes, that's correct.
No branches or pull requests
Kernels are uninterruptible in QtConsole using Python 3.7.
For example, the following code is run inside the terminal:
following which I am unable to stop execution, either by pressing
Ctrl-C
or the "Interrupt current Kernel" menu item.Running the same code in ipython in a console window succeeds in stopping execution.
This issue appears in the latest Spyder as well, and is reported here: spyder-ide/spyder#8013 but seems to be a QtConsole bug.
System Information
Windows 10
Python 3.7.1 (default, Oct 23 2018, 22:56:47) [MSC v.1912 64 bit (AMD64)]
IPython 7.1.1
ipykernel 5.1.0
qtconsole 4.4.2
To Reproduce failing version
To Reproduce working version 3.6
The text was updated successfully, but these errors were encountered: