Author: Jan Nijtmans <[email protected]> State: Withdrawn Type: Project Vote: Pending Tcl-Version: 9.0 Tcl-Branch: tip-659
This TIP proposes a new
interp profile command, and a new
TCL_PROFILE_DEFAULT, which allows
the default profile to be different from "strict". This
only makes sense in combination with TIP #657.
The idea is that every interpreter has a default profile. It is
set at creation time, using the environment variable
If this environment variable has the value
the default profile of the interpreter will be as specified. If
the environment variable is missing, or has any other value,
then the default profile will be
Also there will be a new command
interp profile which can set
and get the current default profile of the interpreter. e.g:
% interp profile strict % interp profile tcl8 tcl8 % interp profile tcl8
Implementation is available in the tip-659 branch of the Tcl repository.
This is 100% upwards compatible. As long as the environment variable is not set, everything is as before.
This document has been placed in the public domain.