Issue #14200 — now displayhook for IDLE works in non-subprocess mode as well as subprecess.

This commit is contained in:
Andrew Svetlov 2012-03-25 11:43:02 +03:00
parent 1a7742eb4d
commit cd49d53238
3 changed files with 22 additions and 21 deletions

View file

@ -999,6 +999,8 @@ def begin(self):
return False
else:
nosub = "==== No Subprocess ===="
sys.displayhook = rpc.displayhook
self.write("Python %s on %s\n%s\n%s" %
(sys.version, sys.platform, self.COPYRIGHT, nosub))
self.showprompt()