spyder: Stop button in the IPython console is not working with Python 3.7 on Windows

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

I use the anaconda 5.3,and I update all in the conda(conda update --all) And I found the bug in the spyder,Whether or not I upgrade My English is Terrible,so… I don’t know if I have clearly expressed my question.

like this code: for i in range(0,10000): print(i)

I click the button of stop the current command(the red one),but it doesn’t work

What steps reproduce the problem?

  1. run .py
  2. Run script will run all the time
  3. Spyder can’t stop until finish

What is the expected output? What do you see instead?

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Versions

  • Spyder version: 3.3.1
  • Python version: 3.7.0
  • Qt version: QtConsole 4.4.1
  • PyQt version: IPython 7.0.1
  • Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 57 (28 by maintainers)

Most upvoted comments

Should be fixed by #8337 In the above fix, it instructs to set close_fds=False. Where/how do you make this change?

Nevermind. Found that you perform the following in your Spyder environment conda install jupyter_client=5.2.4

jupyter-client 5.2.4 is released with the fix, too