mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
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:
parent
320a1b0454
commit
d797e7b507
2 changed files with 2 additions and 5 deletions
|
@ -48,4 +48,5 @@ def init():
|
|||
init()
|
||||
del init
|
||||
|
||||
import PythonIDEMain
|
||||
import PythonIDEMain as _PythonIDEMain
|
||||
_PythonIDEMain.PythonIDE()
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue