]> granicus.if.org Git - python/commitdiff
Fix what appears to be a very old bug. Tkinter in struni is more intolerant
authorKurt B. Kaiser <kbk@shore.net>
Sat, 11 Aug 2007 04:20:51 +0000 (04:20 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Sat, 11 Aug 2007 04:20:51 +0000 (04:20 +0000)
of non-existant text widget 'marks', it seems.

Lib/idlelib/PyShell.py

index 90c837c1bf2176ab1cd77d01fbbf436938a1b015..bfd659c3362fad188ae735ac2a94d309f018659b 100644 (file)
@@ -961,6 +961,7 @@ class PyShell(OutputWindow):
     """
 
     def begin(self):
+        self.text.mark_set("iomark", "insert")
         self.resetoutput()
         if use_subprocess:
             nosub = ''