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

Jeremy Hylton jeremy@cnri.reston.va.us
Sun, 16 Apr 2000 13:33:17 -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