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

IPython --existing doesn't forget previous invocation #55

Open
PetraOleum opened this issue Dec 28, 2020 · 0 comments
Open

IPython --existing doesn't forget previous invocation #55

PetraOleum opened this issue Dec 28, 2020 · 0 comments

Comments

@PetraOleum
Copy link

As mentioned in the Readme, running :IPython twice causes the old connection to be forgotten. However if the kernel has been created elsewhere using jupyter console (e.g. in another nvim tab) and then you run :IPython --existing twice and start sending instructions to it, they start showing up twice:

nvim-ipy: Jupyter shell for Neovim
Jupyter 4.7.0-final
language: python 3.8.6


In[1]: 1+1
Out[1]: 2

Jupyter 4.7.0-final
language: python 3.8.6

In[2]: 1+1

In[2]: 1+1
Out[2]: 2
Out[2]: 2

Jupyter 4.7.0-final
language: python 3.8.6

In[3]: 1+1

In[3]: 1+1
Out[3]: 2
Out[3]: 2

In[3]: 1+1
Out[3]: 2

(And so on, as :IPython --existing is invoked more and more times.)

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

No branches or pull requests

1 participant