tkinter + stubs
effbot at telia.com
Fri Feb 18 13:57:07 CET 2000
Robin Becker <robin at jessikat.demon.co.uk> wrote:
> 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.
can you explain what "stubs" are, for an ordinary python
mortal (or point to an explanation)?
last time I checked, it looked like a home-brewn dynamic
linking scheme (do it all by hand, instead of using the run-
More information about the Python-list