Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1f172306455217d7c9326cd05acc5afc51c9d3f6
Ticket: 3480599fffffffffffffffffffffffffffffffff
pkg_mkIndex should generate deterministic pkgIndex.tcl order
User & Date: bovineone on 2012-01-28 01:02:13
Changes

  1. icomment:
    I am referring to running pkg_mkIndex in this manner with tcl 8.5.10, which does not seem to generate a tclIndex.tcl file that is sorted in any deterministic way:
    
    echo "pkg_mkIndex -- ." | $(TCLSH)
    
    I agree that you should not intentionally introduce ordering dependencies within files in a single package, but it sometimes happens unintentionally and it would be nice to have predictable behavior.  (ie: redefining a proc or a variable in two files and getting different definitions depending on which file is loaded first by different users.)  Having deterministic behavior is generally a desirable feature of software, and arguing to support the opposite is highly irregular and unparliamentary.
    
    
  2. login: "bovineone"
  3. mimetype: "text/plain"
  4. username: "bovineone"