Skip to content
Draft

Lazy #15138

Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
move embed
  • Loading branch information
Carreau committed Feb 22, 2026
commit e182f3159943c1c3c544203f8c30eb7e5dc4bf5b
2 changes: 1 addition & 1 deletion IPython/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
from .core.getipython import get_ipython
from .core import release
from .core.application import Application
from .terminal.embed import embed
#from .terminal.embed import embed

from .core.interactiveshell import InteractiveShell
from .utils.sysinfo import sys_info
Expand Down
2 changes: 1 addition & 1 deletion IPython/terminal/debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from IPython.terminal.interactiveshell import TerminalInteractiveShell
from .ptutils import IPythonPTCompleter
from .shortcuts import create_ipython_shortcuts
from . import embed

from pathlib import Path
from pygments.token import Token
Expand Down Expand Up @@ -159,6 +158,7 @@ def cmdloop(self, intro=None):
raise

def do_interact(self, arg):
from . import embed
ipshell = embed.InteractiveShellEmbed(
config=self.shell.config,
banner1="*interactive*",
Expand Down
1 change: 1 addition & 0 deletions IPython/terminal/embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
assert False
Comment thread
Carreau marked this conversation as resolved.
Outdated


import sys
Expand Down