<i>Improve handling of ::auto_path in Safe Base interpreters</i> status still Open with 6 other changes
by
.
D 2020-07-20T23:56:32.004
J closer nobody
J comment #\s\s\s\s\sTHE\sSTATUS\sQUO:\r\n#\r\n#\s\s\s\s\sThe\sSafe\sBase\smakes\sthe\sslave's\s::auto_path\sidentical\sto\sits\saccess\spath.\r\n#\s\s\s\s\sThis\sarrangement\spre-dates\sboth\smodules\sand\sthe\s"safe"\sglob\scommand.\r\n#\s\s\s\s\sIn\sa\ssafe\sinterpreter\sglob\swould\sraise\san\serror\s(which\swas\sthen\scaught)\r\n#\s\s\s\s\swhen\stclPkgUnknown\sused\sit\sto\saccess\ssubdirectories\sof\sthe\s::auto_path;\sin\r\n#\s\s\s\s\sa\ssafe\sinterpreter\sthe\sauto_path\swas\smade\sidentical\sto\sthe\saccess\spath\sso\r\n#\s\s\s\s\sthat\sall\spackages\scould\sbe\saccessed.\r\n#\r\n#\s\s\s\s\sNow\sthat\s"safe"\sglob\sis\savailable,\sit\shas\sa\skludge\sto\sprevent\r\n#\s\s\s\s\stclPkgUnknown\sfrom\slooking\sfor\spackages\sin\sthe\sgrandchildren\sof\sthe\r\n#\s\s\s\s\s"intended"\s::auto_path\sdirectories.\r\n#\r\n#\s\s\s\s\sWith\sthe\sintroduction\sof\sTcl\smodules,\sthe\saccess\spath\snow\salso\sincludes\r\n#\s\s\s\s\sthe\smodule\spath\sand\sits\ssubdirectories\s(to\sunlimited\sdepth):\sthese\sare\sin\r\n#\s\s\s\s\sthe\ssafe\sinterpreter's\s::auto_path\sbut\sdo\snot\sbelong\sthere.\r\n#\r\n#\s\s\s\s\sFEATURE\sREQUEST:\r\n#\r\n#\s\s\s\s\sThe\s::auto_path\sshould\sbe\smanaged\sseparately\sfrom\sthe\saccess_path,\sand\r\n#\s\s\s\s\sshould\snot\sinclude\sthe\smodule\spath.\s\sAt\sa\sfuture\srevision\sof\sTcl\s(8.6?),\r\n#\s\s\s\s\sthe\stclPkgUnknown\skludge\sshould\sbe\sremoved\sfrom\sAliasGlob,\sand\sthe\ssafe\r\n#\s\s\s\s\sinterpreter\s::auto_path\sshould\sbe\sdefined\sin\sthe\ssame\sway\sas\sunsafe\r\n#\s\s\s\s\sinterpreters\s(so\sthat\sits\ssubdirectories\sare\ssearched\sfor\spackages).\r\n#\s\s\s\s\sChanges\sto\sthe\sSafe\sBase\spublic\sAPI\swill\sbe\sneeded,\seither\sin\sthe\scommands\r\n#\s\s\s\s\sand\stheir\soptions,\sor\sin\stheir\seffects:\sfor\sexample\sthe\sSafe\sBase\smight\r\n#\s\s\s\s\srefrain\sfrom\ssetting\sa\sslave's\s::auto_path,\sand\srequire\sthe\smaster\r\n#\s\s\s\s\sinterpreter\sto\sdo\sso\sexplicitly.
J icomment The\sessence\sof\sthese\schanges\shas\sbeen\ssubmitted\sas\sTIP-579.\s\sThere\sis\sno\sneed\sto\sconsider\sthe\schange\sthrough\sanother\schannel,\sso\sI\swill\sclose\sthis\sRFE.
J login kjnash
J mimetype text/plain
J severity Minor
K 2964719fffffffffffffffffffffffffffffffff
U kjnash
Z 63ee4fc5706590cff77dd089a3485bee