From: Kurt B. Kaiser Date: Sat, 11 Aug 2007 04:20:51 +0000 (+0000) Subject: Fix what appears to be a very old bug. Tkinter in struni is more intolerant X-Git-Tag: v3.0a1~456 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7378df78225e9dcd3da7831c81f52f2af36692fc;p=python Fix what appears to be a very old bug. Tkinter in struni is more intolerant of non-existant text widget 'marks', it seems. --- diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 90c837c1bf..bfd659c336 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 = ''