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

display any output from this session in terminal console #5253

Merged
merged 1 commit into from Mar 7, 2014

Conversation

minrk
Copy link
Member

@minrk minrk commented Mar 3, 2014

rather than filtering based on the most recent msg_id.

avoids excluding async output displayed after status=idle

closes #5251

rather than filtering based on the most recent msg_id.

avoids excluding async output displayed after status=idle

closes ipython#5251
@ellisonbg
Copy link
Member

I think this looks fine, but we should wait to get feedback from the Julia folks.

@minrk
Copy link
Member Author

minrk commented Mar 3, 2014

An alternative we could add in the future is a threaded approach, where async output would really behave the same in the terminal (messing with the prompt and everything).

@minrk minrk added this to the 2.0 milestone Mar 7, 2014
@@ -222,26 +223,22 @@ def handle_execute_reply(self, msg_id, timeout=None):
self.execution_count = int(content["execution_count"] + 1)


def handle_iopub(self, msg_id):
""" Method to process subscribe channel's messages
def handle_iopub(self, msg_id=''):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the msg_id parameter still used at all. Do we want to remove/deprecate it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it is right now, but I can imagine it being useful. I'll leave it for now.

minrk added a commit that referenced this pull request Mar 7, 2014
display any output from this session in terminal console
@minrk minrk merged commit 9338c65 into ipython:master Mar 7, 2014
@minrk minrk deleted the console-async branch March 7, 2014 21:55
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
display any output from this session in terminal console
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.

ipython console ignoring some stream messages?
3 participants