[Image-SIG] Tcl/Tk 8.3.0?

Fredrik Lundh fredrik@pythonware.com
Wed, 12 Apr 2000 13:12:06 +0200

Rob Hooft wrote:
> I have tried to use Tcl/Tk 8.3.0 with PIL under the CVS version of
> python. The result is a core dump in ImageTk. Anything I can do about
> this except downgrading?

afaik, you're the first one trying PIL with both Tk 8.3.0 and
the new object-based Tk interface in 1.6a.  I'm afraid I don't
have the slightest idea if the problem is in PIL, Tk 8.3, or the
new Tk interface...

you could try downgrading _tkinter.c only, and see if that
helps (check the logs to see which version to use; the object
changes was made a few weeks ago).


speaking of 1.6, note that there are a few broken "append"
calls in PIL 1.0, including these (as reported by checkappend):

        self.layer.append(t[0], ord(t[1])/16, ord(t[1])&15, ord(t[2]))

            p.append(i32(fp.read(4)), ord(fp.read(1)), i32(fp.read(4)))

            l.append(self.i32(data, i), self.i32(data, i+4))



adding extra () around the append arguments will fix this.