From 7378df78225e9dcd3da7831c81f52f2af36692fc Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Sat, 11 Aug 2007 04:20:51 +0000 Subject: [PATCH] Fix what appears to be a very old bug. Tkinter in struni is more intolerant of non-existant text widget 'marks', it seems. --- Lib/idlelib/PyShell.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 90c837c1bf2..bfd659c3362 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -961,6 +961,7 @@ class PyShell(OutputWindow): """ def begin(self): + self.text.mark_set("iomark", "insert") self.resetoutput() if use_subprocess: nosub = ''