]> granicus.if.org Git - python/commitdiff
merge 3.2
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 9 Jul 2012 18:48:56 +0000 (20:48 +0200)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 9 Jul 2012 18:48:56 +0000 (20:48 +0200)
1  2 
Lib/idlelib/NEWS.txt
Lib/idlelib/PyShell.py
Lib/idlelib/run.py

index ff23c6d1bc7651a6cdd95a18528966b89eb03c9c,d99e231e76b7290c5f802a632857a4a5cb677528..8c33577757ae8b19c086483a430fe9449cb1363e
@@@ -1,6 -1,8 +1,8 @@@
 -What's New in IDLE 3.2.4?
 +What's New in IDLE 3.3.0?
  =========================
  
+ - Issue #13532: Check that arguments to sys.stdout.write are strings.
  - Issue # 12510: Attempt to get certain tool tips no longer crashes IDLE.
    Erroneous tool tips have been corrected. Default added for callables.
  
Simple merge
index 7124c72a639118f15066d769de61f16044098a1e,84a5f81debb4aba02ac43badf241d657777aba7e..6c91ae42a478c16f8f163b002e67be19d15b1b4a
@@@ -264,10 -269,9 +282,10 @@@ class MyHandler(rpc.RPCHandler)
          """Override base method"""
          executive = Executive(self)
          self.register("exec", executive)
-         sys.stdin = self.console = self.get_remote_proxy("stdin")
-         sys.stdout = self.get_remote_proxy("stdout")
-         sys.stderr = self.get_remote_proxy("stderr")
+         sys.stdin = self.console = _RPCFile(self.get_remote_proxy("stdin"))
+         sys.stdout = _RPCFile(self.get_remote_proxy("stdout"))
+         sys.stderr = _RPCFile(self.get_remote_proxy("stderr"))
 +        sys.displayhook = rpc.displayhook
          # page help() text to shell.
          import pydoc # import must be done here to capture i/o binding
          pydoc.pager = pydoc.plainpager