Tcl Source Code

View Ticket
Login
Ticket UUID: 1723675
Title: TIP 268 overlooked [package present]
Type: Bug Version: obsolete: 8.5a6
Submitter: dgp Created on: 2007-05-22 17:54:20
Subsystem: 39. Package Manager Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2007-09-10 21:59:58
Resolution: Fixed Closed By: dgp
    Closed on: 2007-09-10 14:59:58
Description:
I thought this was covered in
one draft or another of TIP 268,
or maybe it only got mentioned
on the mailing list?

Anyhow, the syntax of the 
[package require] and
[package present] commands
have until now always been in
sync.  This has allowed
[package present] to be able
to "stand in" for [package require]
in all uses, and modify the meaning
only to the extent that it guarantees
a provide script will not be run.

I think this should continue to be
true, and the syntax for [package present]
needs the same extension as was received
by [package require]:

  package present ?-exact? package requirement ...

I'm filing this as a bug, since I think
it is the result of a mistaken oversight, but
if it needs moving to the FR tracker, ok.
User Comments: dgp added on 2007-09-10 21:59:58:

File Added - 244995: 1723675.patch

Logged In: YES 
user_id=80530
Originator: YES


Fixed in HEAD by committing
attached patch.
File Added: 1723675.patch

Attachments: