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.)
This commit is contained in:
Just van Rossum 2003-05-02 23:40:29 +00:00
parent 320a1b0454
commit d797e7b507
2 changed files with 2 additions and 5 deletions

View file

@ -48,4 +48,5 @@ def init():
init()
del init
import PythonIDEMain
import PythonIDEMain as _PythonIDEMain
_PythonIDEMain.PythonIDE()

View file

@ -463,7 +463,3 @@ class PythonIDE(Wapplication.Application):
except (ImportError, MacOS.Error), arg:
pass # W.Message("Cannot register Python Documentation: %s" % str(arg))
return has_help, has_doc
PythonIDE()