Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 327ade9262993b764a265228828b20191aad43ac
Ticket: 219344ffffffffffffffffffffffffffffffffff
[package names] doesn't report pkgIndex contents early on
User & Date: nobody on 2000-10-26 05:11:02
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 5420 RFE
    Version: 8.3
    SubmitDate: '2000-05-10'
    LastModified: '2000-07-19'
    Severity: MED
    Status: UnAssn
    Submitter: techsupp
    ChangedBy: ericm
    OS: BSD
    OSVersion: FreeBSD 3.2
    Machine: Generic PC
    FixedDate: '2000-10-25'
    ClosedDate: '2000-10-25'
    
    
    Name:
    Glenn Trewitt
    
    Extensions:
    none
    
    Comments:
    I expect that the problem is that "package requires" does late
        evaluation of the pkgIndex.tcl files.
        "package names" should do the same initialization.
    
    ReproducibleScript:
    % info tclversion
    8.3
    % package names
    Tcl
    % package require foo
    can't find package foo
    % package names
    Sql http tcllib tcltest msgcat opt Tkined Tnm Tcl
    %
    
    ObservedBehavior:
    If I invoke "package names" before other any other package command, it only reports "Tcl".
    After I invoke a package subcommand that forces Tcl to go out and read the pkgIndex.tcl files,
    "package names" works fine.
    
    DesiredBehavior:
    I expect "package names" to report the same set of known packages, independent of what other
    "package requires" commands have been executed.
    
    
    
    
    
  4. foundin changed to: "obsolete: 8.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to:
    "package names" doesn't report pkgIndex contents early on
    
  11. type changed to: "RFE"