Skip to content

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

Merged
fperez merged 1 commit into
ipython:masterfrom
minrk:embed_instance
Sep 6, 2012
Merged

use Singleton.instance() for embed() instead of manual global#2378
fperez merged 1 commit into
ipython:masterfrom
minrk:embed_instance

Conversation

@minrk
Copy link
Copy Markdown
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
Copy Markdown

This pull request passes (merged c1d0b69 into c678a87).

@fperez
Copy link
Copy Markdown
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