Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 26ec7ff55080fe8bf79b424d45105c810262b2b4
Ticket: 3605447fffffffffffffffffffffffffffffffff
[namespace export -clear] surprise
User & Date: dgp on 2013-02-20 17:36:20
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    % namespace export
    % namespace export x
    % namespace export
    x
    % namespace export -clear y
    % namespace export
    y
    % namespace export z
    % namespace export
    y z
    % namespace export -clear
    % namespace export
    y z
    
    The last round is the surprise.  The failure of the -clear option
    to do any clearing unless new patterns come in at the same time
    is not what I expected, and not the interpretation I would make of
    the documented behavior.  It sure appears that there's no way
    to return a namespace's export list to a list of no patterns.  The
    behavior of
    
    namespace export -clear $newExportPatternList
    
    is also fraught with complication of the Do Nothing Gracefully
    variety.
    
    If this isn't a bug, it ought to be.  Ick.
    
  4. foundin changed to: "current: 8.6.0"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "21. [namespace]"
  11. title changed to: "[namespace export -clear] surprise"
  12. type changed to: "Bug"