Overview
| Artifact ID: | 5335c65e562cd1625c6dda09e8567f4be4d04962b34a637b595a2ea4ff744cbe |
|---|---|
| Ticket: | 2116892fffffffffffffffffffffffffffffffff
Make SafeBase an actual package |
| User & Date: | kjnash on 2020-07-25 14:01:54 |
Changes
- icomment:
I agree with your past self! I think it's about how the file lib/tcl8.6/safe.tcl is loaded in the master - no action is needed in the slave because the master adds the necessary aliases there. Currently the ::safe::* commands are listed in lib/tcl8.6/tclIndex or equivalent. The file lib/tcl8.6/safe.tcl could equally well be listed in a pkgIndex.tcl file (or converted to a module), which would need the master interpreter to evaluate "package require safe" before using any ::safe::* commands. The Safe Base commands are a natural package because they are self-contained in the ::safe namespace.
- login: "kjnash"
- mimetype: "text/plain"