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

noreply@sourceforge.net noreply@sourceforge.net
Fri, 06 Dec 2002 07:33:53 -0800


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

Category: Build
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Paul F. Dubois (dubois)
Assigned to: A.M. Kuchling (akuchling)
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.

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

>Comment By: Michael Hudson (mwh)
Date: 2002-12-06 15:33

Message:
Logged In: YES 
user_id=6656

This should be fixed in revision 1.73.4.12 of setup.py.

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

Comment By: Michael Hudson (mwh)
Date: 2002-12-03 18:53

Message:
Logged In: YES 
user_id=6656

Yes please!  If you can look at #645383 at the same time,
the more the merrier!

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

Comment By: A.M. Kuchling (akuchling)
Date: 2002-12-03 18:51

Message:
Logged In: YES 
user_id=11375

It didn't get ported to 2.2.2, either, or to the release22-maint branch.
Should it be backported?

(If not, this bug can be closed as "fixed in 2.3".)


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

Comment By: Michael Hudson (mwh)
Date: 2002-04-26 15:52

Message:
Logged In: YES 
user_id=6656

The time machine strikes again; that's what happens in CVS
Python (on the trunk; this didn't get ported to 221).

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

Comment By: Paul F. Dubois (dubois)
Date: 2002-04-26 15:38

Message:
Logged In: YES 
user_id=5550

I now know that this is in Python's setup.py file. I suggest
the offending file might be renamed rather than removed.

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

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