[Python-bugs-list] PRIVATE: IDLE bug (PR#297)

jeremy@cnri.reston.va.us jeremy@cnri.reston.va.us
Sun, 16 Apr 2000 13:30:49 -0400 (EDT)


Fred Drake fixed this problem in the IDLE sources last week.  He uses
a slightly different mechanism -- the __file__ attribute of a module
loaded from the IDLE source directory.

    idle_dir = os.path.dirname(IdleConf.__file__)
    IdleConf.load(idle_dir)

Jeremy