[Python-bugs-list] [ python-Bugs-534748 ] Removing _tkinter considered harmful

noreply@sourceforge.net noreply@sourceforge.net
Mon, 25 Mar 2002 08:48:44 -0800


Bugs item #534748, was opened at 2002-03-25 08:48
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=534748&group_id=5470

Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Paul F. Dubois (dubois)
Assigned to: Nobody/Anonymous (nobody)
Summary: Removing _tkinter considered harmful

Initial Comment:
The Python build process now tries to import _tkinter
and if it cannot removes it. There are two problems
with this:

a. It isn't correct.
b. It removes the very thing required to understand why
it  won't import.

(a) It isn't correct because it might import correctly
later. If the user has, for example, installed tk / tcl
in a place that is not in LD_LIBRARY_PATH, the import
might fail during the Python build but succeed after
the user sets this variable. Since the installer having
it set is no guarantee the user will have it set, we
aren't buying anything by verifying that the installer
can import it.

(b) If it won't import you just destroyed the evidence.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=534748&group_id=5470