Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0cc8e969fbd87459c6366984ca67bcc6c0f67462
Ticket: 443195ffffffffffffffffffffffffffffffffff
Export documented http::[a-z]* commands
User & Date: dgp on 2001-11-20 00:37:59
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    At the very least, if a public command is not
    exported, then the inability to [namespace import]
    that command must be documented.  The user of the
    http package needs that documentation so he knows
    not to attempt [namespace import ::http::error], etc.
    
    I prefer a policy of always [namespace export]ing
    all public commands of any package.  If you do not
    [namespace export] a command, then users may not
    [namespace import] and [rename] it to use it in
    the way they choose within their own namespace.
    
    It is true that a [namespace import ::http::error]
    into :: would conflict with [::error], but it is
    not necessarilly true that a conflict would exist
    in any other namespace.  By refusing to 
    [namespace export] these commands, you prevent their
    import into *any* namespace, just becuase there will
    be trouble importing into *one* namespace. 
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"