Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
c11a485d
Commit
c11a485d
authored
8 years ago
by
Elizaveta Shashkova
1
Browse files
Options
Download
Email Patches
Plain Diff
Fix Debug Console when attaching to IPython process (PY-20531)
parent
c0b06a8f
Branches unavailable
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/helpers/pydev/_pydev_bundle/pydev_ipython_console_011.py
+4
-3
.../helpers/pydev/_pydev_bundle/pydev_ipython_console_011.py
with
4 additions
and
3 deletions
+4
-3
python/helpers/pydev/_pydev_bundle/pydev_ipython_console_011.py
+
4
-
3
View file @
c11a485d
...
...
@@ -313,16 +313,17 @@ class _PyDevFrontEnd:
version
=
release
.
__version__
def
__init__
(
self
,
show_banner
=
True
):
# Create and initialize our IPython instance.
self
.
ipython
=
PyDevTerminalInteractiveShell
.
instance
()
if
hasattr
(
PyDevTerminalInteractiveShell
,
'_instance'
)
and
PyDevTerminalInteractiveShell
.
_instance
is
not
None
:
self
.
ipython
=
PyDevTerminalInteractiveShell
.
_instance
else
:
self
.
ipython
=
PyDevTerminalInteractiveShell
.
instance
()
if
show_banner
:
# Display the IPython banner, this has version info and
# help info
self
.
ipython
.
show_banner
()
self
.
_curr_exec_line
=
0
self
.
_curr_exec_lines
=
[]
...
...
This diff is collapsed.
Click to expand it.
小 白蛋
@baidan
mentioned in commit
168e31bd
·
2 years ago
mentioned in commit
168e31bd
mentioned in commit 168e31bd1a4a9f4c0ef5edd622ea0fb5c9b2c3ef
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help