This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ocean-city
Recipients ocean-city
Date 2010-12-08.15:19:02
SpamBayes Score 1.26365e-08
Marked as misclassified No
Message-id <>
I think this happens because 

1. imports tkinter module, and it
   imports tkinter/
2. sets TCL_LIBRARY etc as top level routine
3. resets os.environ after ends.
   so TCL_LIBRARY gone.
4. tries to import tkinter module, but it won't
   be loaded twice, so TCL_LIBRARY won't be set.
5. tcl/tk cannot find its library

I think this can be fixed by save & restore sys.modules
before & after each tests, so that tkinter module can be
loaded again.
Date User Action Args
2010-12-08 15:19:03ocean-citysetrecipients: + ocean-city
2010-12-08 15:19:03ocean-citysetmessageid: <>
2010-12-08 15:19:02ocean-citylinkissue10652 messages
2010-12-08 15:19:02ocean-citycreate