Skip to content
Tcl Source Code History Of Ticket 693851ffffffffff
Login

History Of Ticket 693851ffffffffff

Artifacts Associated With Ticket 693851ffffffffff

  1. Ticket change [f8cb052725] (rid 91606) by fireegl on 2003-02-26 19:15:52:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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
      
      
    4. foundin initialized to: "obsolete: 8.4.1.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "fireegl"
    9. subsystem initialized to: "33. Safe Base"
    10. title initialized to: "Bug in safe::interpCreate"
    11. type initialized to: "Bug"
  2. Ticket change [55968b143a] (rid 94161) by nobody on 2003-02-27 04:08:38:

    1. icomment:
      Logged In: NO 
      
      Based on my preliminary research,
      
      changing this proc in "safe.tcl" from this:
      
          proc InterpStateName {slave} {
              return "S$slave"
          }
      
      to this:
      
          proc InterpStateName {slave} {
              regsub -all -- {::} $slave "" slave
              return "S$slave"
          }
      
      seems to fix the problem.
      
      JJM
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  3. Ticket change [bd85ae19ca] (rid 101918) by fireegl on 2003-03-05 01:56:50:

    1. foundin changed to: "obsolete: 8.4.2"
    2. priority changed to: "6"
  4. Ticket change [a12c67fe60] (rid 109671) by fireegl on 2003-03-05 01:56:51:

    1. icomment:
      Logged In: YES 
      user_id=20221
      
      I personally did it like this..
      
      proc InterpStateName {slave} {
              return "${slave}S"
      }
      
      It would seem that it would put the variable in the same 
      namespace that I created the interpreter uder this way.
      
      
    2. login: "fireegl"
    3. mimetype: "text/plain"
    4. username: "fireegl"
  5. Ticket change [b3122a4916] (rid 98450) by fireegl on 2003-07-09 15:07:10:

    1. foundin changed to: "obsolete: 8.5a0"
    2. priority changed to: "7 High"
    3. resolution changed to: "Works For Me"
  6. Ticket change [0b24757a10] (rid 113934) by hobbs on 2003-07-17 05:33:25:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      I think the correct thing is to improve the docs to note that 
      slaves cannot be in namespaces.  There may be other bugs 
      lurking.  Or rather, make the creation more ns aware and 
      create the [namespace qual $slaveName] first.  If someone 
      can create and test that patch, it would be better.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. priority changed to: "5 Medium"
    5. username: "hobbs"
  7. Ticket change [b25a493b47] (rid 185120) by kjnash on 2020-07-21 17:36:33:

    1. assignee changed to: "aku"
    2. closer changed to: "nobody"
    3. 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
      
    4. 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.
      
    5. login: "kjnash"
    6. mimetype: "text/plain"
    7. severity changed to: "Minor"
  8. Ticket change [600992f350] (rid 190587) by kjnash on 2020-12-31 15:57:04:

    1. closedate changed to: "2459215.16463341"
    2. closer changed to: "kjnash"
    3. login: "kjnash"
    4. mimetype: "text/plain"
    5. resolution changed to: "Fixed"
    6. status changed to: "Closed"