mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
The prompt in debug console with IPython (PY-20685)
We need to add message to output in order to notify ide side about using IPython
This commit is contained in:
@@ -359,6 +359,8 @@ def get_interpreter():
|
||||
except AttributeError:
|
||||
interpreterInterface = InterpreterInterface(None, None, threading.currentThread())
|
||||
setattr(__builtin__, 'interpreter', interpreterInterface)
|
||||
sys.stderr.write(interpreterInterface.get_greeting_msg())
|
||||
sys.stderr.flush()
|
||||
|
||||
return interpreterInterface
|
||||
|
||||
|
||||
Reference in New Issue
Block a user