Does PIL work with Tk 8.5?

"Martin v. Löwis" martin at v.loewis.de
Mon Jan 7 18:49:31 EST 2008


> Tk itself has a stubs mechanism that allows libraries compiled against
> earlier versions to be used with later versions. It's different than
> Python in this respect. A pure-Tk library (such as Img or TkPNG) built
> against Tk 8.4 would not require re-compilation to be used with 8.5.
> Since PIL is a Python library, however, you may be right.

But aren't the older binaries linked, in a hard-coded manner, against
libtk8.4.so.0 (or .dylib)? If so, how does it help that the Tcl stub
layer could still provide binary compatibility? Won't the operating
system load and use the older Tk version *anyway*?

Regards,
Martin



More information about the Python-list mailing list