Changing TK
Kragen Sitaker
kragen at pobox.com
Mon Jun 10 17:52:23 EDT 2002
Eric Brunel <eric.brunel at pragmadev.com> writes:
> However, both are not referenced at all in Tkinter.py, so "tweaking" it
> would not be of any help... When you get a new tcl/tk installation, you
> *must* recompile the interpreter, or you won't ever see any change.
Well, you must at least recompile the _tkinter extension module; you
only need to recompile the interpreter if _tkinter is statically
linked into it, which is unusual.
> But DON'T EVER replace former tcl/tk libraries by newer ones without
> recompiling, even if they have the same name! It *may* work, but if it
> doesn't, the tk support in your Python will be completely and definitely
> broken...
In Linux, at least, if you add new Tcl/Tk libraries with different
version numbers, Python and Tkinter will happily continue to use the
ones they were built against.
More information about the Python-list
mailing list