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 ronaldoussoren
Recipients ronaldoussoren
Date 2010-05-24.09:06:43
SpamBayes Score 0.00069317425
Marked as misclassified No
Message-id <1274692007.27.0.519809230611.issue8798@psf.upfronthosting.co.za>
In-reply-to
Content
It would be nice if the binary installer supported both Tk 8.4 and Tk 8.5: the former is present on all current versions of OSX as part of the system, the latter is the only one that is supported in 64-bit code on OSX  10.6.

A number of Tkinter users have also mentioned that they would much prefer to target Tk 8.5 due to a large number of bugfixes in that version (on OSX).

What I'm thinking of is:

have _tkinter.py that does:

try:
   from _tkinter85 import *
except ImportError:
   from _tkinter84 import *

Then patch setup.py to build _tkinter84.so and _tkinter85.so from _tkinter.c while linking to the right version of Tk. This should only be done when a special configure argument is present, if it isn't setup.py should default to building _tkinter.so like it currently does. 

I don't have time to work on a patch myself.

Workaround for this request: build your own copy of _tkinter when you want to use Tk 8.5 (or later) and use sys.path manipulation to ensure that that copy is used.
History
Date User Action Args
2010-05-24 09:06:47ronaldoussorensetrecipients: + ronaldoussoren
2010-05-24 09:06:47ronaldoussorensetmessageid: <1274692007.27.0.519809230611.issue8798@psf.upfronthosting.co.za>
2010-05-24 09:06:45ronaldoussorenlinkissue8798 messages
2010-05-24 09:06:43ronaldoussorencreate