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

allow async output on the most recent request #5668

Merged
merged 1 commit into from
May 6, 2014

Conversation

minrk
Copy link
Member

@minrk minrk commented Apr 18, 2014

Keeps track of the most recent request, so async output is still allowed

closes #5407

Keeps track of the most recent request, so async output is still allowed
@minrk
Copy link
Member Author

minrk commented Apr 18, 2014

An alternative to this would be forcing the callers of the kernel API to do the cleanup (cells, widgets), so that the number of callbacks is limited to the number of existing cells and widgets. We would have to make sure we clear previous callbacks whenever new requests are sent, as well as whenever cells / widgets are removed, and be careful about duplicating cells.

minrk added a commit that referenced this pull request May 6, 2014
allow async output on the most recent request
@minrk minrk merged commit 2a61a25 into ipython:master May 6, 2014
@minrk minrk deleted the async-output branch May 6, 2014 17:42
@tritemio
Copy link
Contributor

tritemio commented May 6, 2014

I tested current master and I can confirm that this fixes the problem of missing output from interactive matplotlib figures, thanks.

takluyver added a commit that referenced this pull request May 7, 2014
Keeps track of the most recent request, so async output is still allowed

closes #5407
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
allow async output on the most recent request
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.

clearing message handlers on status=idle loses async output
2 participants