[Idle-dev] CVS: idle idle.py,1.3,1.4

Kurt B. Kaiser kbk@users.sourceforge.net
Fri, 13 Jul 2001 22:21:40 -0700


Update of /cvsroot/idlefork/idle
In directory usw-pr-cvs1:/tmp/cvs-serv7727

Modified Files:
	idle.py 
Log Message:
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


Index: idle.py
===================================================================
RCS file: /cvsroot/idlefork/idle/idle.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** idle.py	2001/07/12 04:51:11	1.3
--- idle.py	2001/07/14 05:21:37	1.4
***************
*** 1,12 ****
  #! /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()
--- 1,4 ----