<i>Improve handling of ::auto_path in Safe Base interpreters</i> status still Open with 4 other changes
by
.
D 2010-03-06T20:45:07
J icomment Sorry\sfor\sthe\sfixed-width\spost\s-\shere's\sthe\ssame\stext\sbut\shopefully\smore\sreadable\sthis\stime.\n\nTHE\sSTATUS\sQUO:\n\nThe\sSafe\sBase\smakes\sthe\sslave's\s::auto_path\sidentical\sto\sits\saccess\spath.\s\sThis\sarrangement\spre-dates\sboth\smodules\sand\sthe\s"safe"\sglob\scommand.\s\sIn\sa\ssafe\sinterpreter\sglob\swould\sraise\san\serror\s(which\swas\sthen\scaught)\swhen\stclPkgUnknown\sused\sit\sto\saccess\ssubdirectories\sof\sthe\s::auto_path;\sin\sa\ssafe\sinterpreter\sthe\sauto_path\swas\smade\sidentical\sto\sthe\saccess\spath\sso\sthat\sall\spackages\scould\sbe\saccessed.\n\nNow\sthat\s"safe"\sglob\sis\savailable,\sit\shas\sa\skludge\sto\sprevent\stclPkgUnknown\sfrom\slooking\sfor\spackages\sin\sthe\sgrandchildren\sof\sthe\s"intended"\s::auto_path\sdirectories.\n\nWith\sthe\sintroduction\sof\sTcl\smodules,\sthe\saccess\spath\snow\salso\sincludes\sthe\smodule\spath\sand\sits\ssubdirectories\s(to\sunlimited\sdepth):\sthese\sare\sin\sthe\ssafe\sinterpreter's\s::auto_path\sbut\sdo\snot\sbelong\sthere.\n\nFEATURE\sREQUEST:\n\nThe\s::auto_path\sshould\sbe\smanaged\sseparately\sfrom\sthe\saccess_path,\sand\sshould\snot\sinclude\sthe\smodule\spath.\s\sAt\sa\sfuture\srevision\sof\sTcl\s(8.6?),\sthe\stclPkgUnknown\skludge\sshould\sbe\sremoved\sfrom\sAliasGlob,\sand\sthe\ssafe\sinterpreter\s::auto_path\sshould\sbe\sdefined\sin\sthe\ssame\sway\sas\sunsafe\sinterpreters\s(so\sthat\sits\ssubdirectories\sare\ssearched\sfor\spackages).\n\nChanges\sto\sthe\sSafe\sBase\spublic\sAPI\swill\sbe\sneeded,\seither\sin\sthe\scommands\sand\stheir\soptions,\sor\sin\stheir\seffects:\sfor\sexample\sthe\sSafe\sBase\smight\srefrain\sfrom\ssetting\sa\sslave's\s::auto_path,\sand\srequire\sthe\smaster\sinterpreter\sto\sdo\sso\sexplicitly.\n\n
J login kjnash
J mimetype text/plain
J username kjnash
K 2964719fffffffffffffffffffffffffffffffff
U kjnash
Z 7af311b17897668588589806bd0ef289