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

use Singleton.instance() for embed() instead of manual global #2378

Merged
merged 1 commit into from Sep 6, 2012

Conversation

minrk
Copy link
Member

@minrk minrk commented Sep 4, 2012

Any use of get_ipython() could cause funky misbehaving,
potentially invoking another InteractiveShell instance.

One change is calling IPython.embed() from inside a running IPython session will now result in a MultipleInstanceError.

closes #1884

Any use of get_ipython() could cause funky misbehaving,
potentially invoking another InteractiveShell instance.

One change is calling IPython.embed() from inside a running IPython session will now result in a MultipleInstanceError.

closes ipython#1884
@travisbot
Copy link

This pull request passes (merged c1d0b69 into c678a87).

@fperez
Copy link
Member

fperez commented Sep 6, 2012

Yup, way cleaner. Thanks! Merging now.

fperez added a commit that referenced this pull request Sep 6, 2012
use Singleton.instance() for embed() instead of manual global
@fperez fperez merged commit f93f583 into ipython:master Sep 6, 2012
@minrk minrk deleted the embed_instance branch March 31, 2014 23:36
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
use Singleton.instance() for embed() instead of manual global
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.embed changes color on error
3 participants