(self)
Override base method
Override base method
Override base method
def handle(self):
        """Override base method"""
        executive = Executive(self)
        self.register("exec", executive)
        self.console = self.get_remote_proxy("console")
        sys.stdin = StdInputFile(self.console, "stdin",
                                 iomenu.encoding, iomenu.errors)
        sys.stdout = StdOutputFile(self.console, "stdout",
                                   iomenu.encoding, iomenu.errors)
        sys.stderr = StdOutputFile(self.console, "stderr",
                                   iomenu.encoding, "backslashreplace")

        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

        # Keep a reference to stdin so that it won't try to exit IDLE if
        # sys.stdin gets changed from within IDLE's shell. See issue17838.
        self._keep_stdin = sys.stdin

        install_recursionlimit_wrappers()

        self.interp = self.get_remote_proxy("interp")
        rpc.RPCHandler.getresponse(self, myseq=None, wait=0.05)
def handle ( self ) : executive = Executive ( self ) self . register ( "exec" , executive ) self . console = self . get_remote_proxy ( "console" ) sys . stdin = StdInputFile ( self . console , "stdin" , iomenu . encoding , iomenu . errors ) sys . stdout = StdOutputFile ( self . console , "stdout" , iomenu . encoding , iomenu . errors ) sys . stderr = StdOutputFile ( self . console , "stderr" , iomenu . encoding , "backslashreplace" ) 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 # Keep a reference to stdin so that it won't try to exit IDLE if # sys.stdin gets changed from within IDLE's shell. See issue17838. self . _keep_stdin = sys . stdin install_recursionlimit_wrappers ( ) self . interp = self . get_remote_proxy ( "interp" ) rpc . RPCHandler . getresponse ( self , myseq = None , wait = 0.05 )