Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9277563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T17:08:21+00:00 2026-06-18T17:08:21+00:00

Sometimes it happens that an ongoing ipython evaluation won’t respond to one, or even

  • 0

Sometimes it happens that an ongoing ipython evaluation won’t respond to one, or even several, Ctrl-C‘s from the keyboard1.

Is there some other way to goose the ipython process to abort the current evaluation, and come back to its “read” state?

Maybe with kill -SOMESECRETSIGNAL <pid>? I’ve tried a few (SIGINT, SIGTERM, SIGUSR1, …) to no avail: either they have no effect (e.g. SIGINT), or they kill the ipython process. Or maybe some arcane ipython configuration? Some sentinel file? … ?

1“Promptly enough”, that is. Of course, it is impossible to specify precisely how promptly is “promptly enough”; it depends on the situation, the reliability of the delay’s duration, the temperament of the user, the day’s pickings at Hacker News, etc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T17:08:22+00:00Added an answer on June 18, 2026 at 5:08 pm

    It depends on where execution is occurring when you decide to interrupt (in a python function, in a lower level library,…). If this commonly occurs within a function you have created, you can try putting a try/except block in the function and catching KeyboardInterrupt exceptions. It may not break out of a low level library (if that is indeed where you are running) but it should prevent the ipython interpreter from exiting.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sometimes it happens that one missing character in a huge js file ruins the
I have a file. It sometimes happens that one thread has finsihed reading the
It happens sometimes that one feature seems to belong to more than one place.
I have a Hgroup that contains of four panels. Sometimes it happens then when
Sometimes we receive stack traces from our customer with wrong line numbers. It happens
It happens sometimes that I have to look into various log and trace files
It sometimes happens to me that I forget to include a file in a
I want to understand: why it happens that sometimes a char[1] in C is
Sometimes it happens that the scrollbar of my tree panel does not work anymore.
I have following problem: We are running webshop and sometimes it happens that 2

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.