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

Daemon StreamCapturer #4498

Merged
merged 1 commit into from Nov 6, 2013
Merged

Conversation

takluyver
Copy link
Member

The StreamCapturer should die if the main thread crashes. On Shiningpanda, a failure in another nose plugin has been causing the tests to hang, because the main thread exits, but the StreamCapturer thread is still alive.

Under normal conditions, the thread will still be shut down cleanly - it will only die a messy death if the main thread does.

@minrk
Copy link
Member

minrk commented Nov 6, 2013

Is it better as a class attribute, or to set the instance attribute in __init__?

@takluyver
Copy link
Member Author

I prefer to set it as a class attribute. It does work.

@minrk
Copy link
Member

minrk commented Nov 6, 2013

fair enough.

minrk added a commit that referenced this pull request Nov 6, 2013
Daemon StreamCapturer

The StreamCapturer should die if the main thread crashes. On Shiningpanda, a failure in another nose plugin has been causing the tests to hang, because the main thread exits, but the StreamCapturer thread is still alive.

Under normal conditions, the thread will still be shut down cleanly - it will only die a messy death if the main thread does.
@minrk minrk merged commit b1976c9 into ipython:master Nov 6, 2013
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Daemon StreamCapturer

The StreamCapturer should die if the main thread crashes. On Shiningpanda, a failure in another nose plugin has been causing the tests to hang, because the main thread exits, but the StreamCapturer thread is still alive.

Under normal conditions, the thread will still be shut down cleanly - it will only die a messy death if the main thread does.
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.

None yet

2 participants