tkinter + stubs

Robin Becker robin at jessikat.demon.co.uk
Fri Feb 18 07:01:56 EST 2000


having just had to recompile _tkinter for the third time in the last
year I would like to make a plea to Guido to allow export of the dynamic
load code in the future python16.dll.

My reasoning is this; if stubs are ever to be used with _tkinter the
steps to be carried out are

determine suitable tcl/tk dynamic libraries.
find and call Tcl_CreateInterp () to get an initial interpreter
find and call Tcl_InitStubs(interp,version,0)
find and call Tk_InitStubs(interp,version,0)

to do this easily would mean duplicating all the dynamic loading code.
However, if we could avoid always using the "init" prefix then we get
the dynamic load almost for free if the entry points are exported.
-- 
Robin Becker



More information about the Python-list mailing list