Forum OpenACS Development: Tcl namespace cleanup

21: Tcl namespace cleanup (response to 1)
Posted by Andrew Piskorski on
I haven't carefully investigated any of these issues, but reading this thread again, the AOLserver "namespace cleanup" issue seems to fundamentally be a Tcl package or library problem, not an AOLserver problem.

Tcl apparently provides no consistent method or convention for initializing and re-setting package state, other than completely destroying the Tcl interpreter and then creating a new one. So this is going to be a problem for any long lived Tcl interpreter.

What do the Tcl maintainers think about this? What other projects are using long-lived server-like Tcl interpreters, and how have they addressed this problem?