Re: Python & Sun shared libraries

Bill Janssen (janssen@parc.xerox.com)
Fri, 15 Oct 1993 13:45:53 PDT

Excerpts from direct: 15-Oct-93 Re: Python & Sun shared lib..
Guido.van.Rossum@cwi.nl (1273)

> undefine USE_STDWIN in config.c and you should be all set. The call
> to wdone() is not really necessary in the X11 or Mac versions; it *is*
> needed for the termcap version to restore the tty settings, but that's
> not likely to be very popular at your site... (If it is, you can
> always add a function to the module to make an explicit call to
> wdone() -- make sure it somehow sabotages wopen() so that after
> calling wdone() the program can't continue to open windows and crash
> stdwin...

Perhaps python should have something like onexit()? Or perhaps each
module should have the ability to define `__fini__' on itself, which
python will call when it exits?

Bill