Mercurial > cpython-lru_cache-weakref
diff Lib/idlelib/PyShell.py @ 34948:e4e0cff16bc7 legacy-trunk
Improve subprocess link error notification
M NEWS.txt
M PyShell.py
M rpc.py
| author | Kurt B. Kaiser <kbk@shore.net> |
|---|---|
| date | Tue, 10 May 2005 03:44:24 +0000 |
| parents | cd6b54ba272f |
| children | 58632092e023 |
line wrap: on
line diff
--- a/Lib/idlelib/PyShell.py Tue May 10 03:20:12 2005 +0000 +++ b/Lib/idlelib/PyShell.py Tue May 10 03:44:24 2005 +0000 @@ -596,6 +596,8 @@ self.write("Unsupported characters in input") return try: + # InteractiveInterpreter.runsource() calls its runcode() method, + # which is overridden (see below) return InteractiveInterpreter.runsource(self, source, filename) finally: if self.save_warnings_filters is not None: @@ -720,6 +722,7 @@ else: self.showtraceback() except: + print>>sys.stderr, "IDLE internal error in runcode()" self.showtraceback() finally: if not use_subprocess:
