py-cvs-2001_07_13 (Rev 1.4) merge

"Move the action of loading the configuration to the IdleConf module
rather than the idle.py script.  This has advantages and
disadvantages; the biggest advantage being that we can more easily
have an alternative main program."  --GvR
This commit is contained in:
Kurt B. Kaiser 2001-07-14 05:21:37 +00:00
parent 40610547be
commit 7711b5f432
1 changed files with 0 additions and 8 deletions

View File

@ -1,12 +1,4 @@
#! /usr/bin/env python
import os
import sys
import IdleConf
idle_dir = os.path.dirname(IdleConf.__file__)
IdleConf.load(idle_dir)
# defer importing Pyshell until IdleConf is loaded
import PyShell
PyShell.main()