Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4fe7e4e90f04f9ec4061420959931873e9c8a4fc
Ticket: 3592042fffffffffffffffffffffffffffffffff
pkg_mkIndex fails on package present
User & Date: heinrichmartin on 2012-12-05 18:48:11
Changes

  1. icomment:
    Fair enough.
    
    My way to use [package present] was as an assertion and to help the IDE, which I though was more lightweight than [package require].
    
    Others might use it to decide their implementation strategy, but then: they too could use if {[catch {package require ...}]}
    
    Maybe I do not fully understand the difference between [package require] and [package present], but I understand that it makes no difference in my case. Even the overhead using [package require] is negligible when assuming the package is present anyway.
    
    Thx for reviewing this "issue"!
    
    
  2. login: "heinrichmartin"
  3. mimetype: "text/plain"
  4. resolution changed to: "Wont Fix"
  5. username: "heinrichmartin"