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:
Elizaveta Shashkova
2016-09-09 15:36:47 +03:00
parent bfa4e6ccab
commit ad94b142ac
+2
View File
@@ -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