Skip to content
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

PR: Specify close_fds=False on Windows #8337

Merged
merged 2 commits into from
Dec 1, 2018

Conversation

minrk
Copy link
Contributor

@minrk minrk commented Nov 30, 2018

Description of Changes

  • Wrote at least one-line docstrings (for any new functions)
  • Added unit test(s) covering the changes (if testable)
  • Included a screenshot (if affecting the UI)

the default for close_fds changed to True in Python 3.7, resulting in closing the handles needed for interrupt and parent polling.

This is a workaround setting close_fds=False on Windows to keep kernels interruptible on Python 3.7
without having to wait for jupyter/jupyter_client#408 to be released. jupyter-client > 5.2.3 will do the same thing by default.

Issue(s) Resolved

Fixes #8013

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: Benjamin Ragan-Kelley

the default changed to True in Python 3.7,
resulting in closing the handles needed for interrupt and parent polling
@pep8speaks
Copy link

pep8speaks commented Nov 30, 2018

Hello @minrk! Thanks for updating the PR.

Comment last updated on November 30, 2018 at 12:38 Hours UTC

@ccordoba12 ccordoba12 changed the title specify close_fds=False on Windows PR: Specify close_fds=False on Windows Nov 30, 2018
@ccordoba12 ccordoba12 added this to the v4.0beta2 milestone Dec 1, 2018
@ccordoba12
Copy link
Member

Thanks a lot Min!

@ccordoba12 ccordoba12 merged commit 68aedbf into spyder-ide:master Dec 1, 2018
@minrk minrk deleted the workaround-close-fds branch December 3, 2018 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stop button in the IPython console is not working with Python 3.7 on Windows
3 participants