[Python-bugs-list] trouble with _tkinter.c (PR#68)

bradenja@pa.msu.edu bradenja@pa.msu.edu
Sun, 29 Aug 1999 23:25:13 -0400 (EDT)


Full_Name: Jazcek Braden
Version: 1.5b2
OS: Digital Unix
Submission from: bradenja.user.msu.edu (35.10.24.28)


I had install Tcl/Tk version 8.0.5 and when I went to compile python with tcl
module support, I kept getting an ld error that Tcl_GetFile info was undefined. 
I edited the modules/_tkinter.c and changed line 113 from 
#define MAKEFHANDLE(fd) Tcl_GetFile((ClientData)(fd), FHANDLETYPE)
to
#define MAKEFHANDLE(fd) Tcl_GetFileInfo((ClientData)(fd), FHANDLETYPE)

and this seemed to let it work hopefully this is the context for which it was
intended