diff Mac/Tools/IDE/PythonIDE.py @ 28938:5d4d4ebfd317 legacy-trunk

Fixed age-old beginner's error: don't start the main loop as a side effect of an import. (This is one step towards threading support in the IDE.)
author Just van Rossum <just@letterror.com>
date Fri, 02 May 2003 23:40:29 +0000
parents 6b556c545ffb
children 05da7726c027
line wrap: on
line diff
--- a/Mac/Tools/IDE/PythonIDE.py	Fri May 02 22:44:59 2003 +0000
+++ b/Mac/Tools/IDE/PythonIDE.py	Fri May 02 23:40:29 2003 +0000
@@ -48,4 +48,5 @@
 init()
 del init
 
-import PythonIDEMain
+import PythonIDEMain as _PythonIDEMain
+_PythonIDEMain.PythonIDE()