Overview
| Artifact ID: | 7f429e502ea1e906df3831808a7c7b62f97374172350f54cacf5b46360e9754e |
|---|---|
| Ticket: | 2116892fffffffffffffffffffffffffffffffff
Make SafeBase an actual package |
| User & Date: | dgp on 2020-07-23 19:16:40 |
Changes
- icomment:
Make this one of those "conversation with past self" videos. I suspect the trouble is the chicken & egg problem. A safe interpreter, whether created by a Tcl_MakeSafe() call, or by [interp crate -safe], does not have any exposed commands that can interact with the file system. In particular a safe interp cannot [source] or [load] into place any components that could make up a "safe" package until the functions of the "safe" package are already in place to enable safe access to the filesystem. We would have a circular dependency if we needed to [package require safe] before we had the capacities in place that would allow us to [package require safe]. If there's an escape from this dilemma other than the one we have (it's in the built-in language command set), let me know.
- login: "dgp"
- mimetype: "text/plain"