Overview
| Artifact ID: | b25a493b47bf5e58e1b72f88a4059b195983ae32e164eade7a673eaafc7fca3f |
|---|---|
| Ticket: | 693851ffffffffffffffffffffffffffffffffff
Bug in safe::interpCreate |
| User & Date: | kjnash on 2020-07-21 17:36:33 |
Changes
- assignee changed to: "aku"
- closer changed to: "nobody"
- comment changed to:
I want to create a safe interpreter (bar) under the foo namespace.. Here's the sample code and the error it gives: % namespace eval foo {safe::interpCreate ::foo::bar} can't set "S::foo::bar(access_path,0)": parent namespace doesn't exist - icomment:
Fixed in safe-bugfixes-8-6 commit [ba718daa57], but subject to some restrictions because of the need for compatibility with existing code, and the non-standard namespace handling of "interp" (see bug [66c2e8c974]). In the fixed version, the interpreter name "slave" may include namespace separators, but may not have leading or trailing namespace separators, or excess colon characters in namespace separators. The interpreter name is qualified relative to the global namespace ::, not the namespace in which the ::safe::interpCreate or ::safe::interpInit command is evaluated.
- login: "kjnash"
- mimetype: "text/plain"
- severity changed to: "Minor"