BUG: wrong usage for package loading with multiple versions available

Liste des GroupesRevenir à cl tcl 
Sujet : BUG: wrong usage for package loading with multiple versions available
De : aotto1968 (at) *nospam* t-online.de (aotto1968)
Groupes : comp.lang.tcl
Date : 30. Apr 2025, 11:06:55
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vusso1$1tc3$1@dont-email.me>
User-Agent : Mozilla Thunderbird
hi,
The "-exact" option does NOT include the PARTIAL version number. To use the
tcltest-2.3.8 package the EXACT version have to be "known".
The CORE problem is that tcltest-2.3 and tcltest-2-5 have partly DIFFERENT
syntax. The command "package require tcltest 2.3" should load the LATEST
patch level from "tcltest-2.3.X"
package require Tcl 8.5
 > 8.5.19
package versions tcltest
 > 2.3.8 2.5.3
info library
 > /path/to/lib/tcl8.5
catch {package require -exact tcltest 2.3} msg
 > 1
set msg
 > can't find package tcltest exactly 2.3
package require tcltest 2.3
 > 2.5.3
package require Tcl 8.5
 > 8.6.12
package versions tcltest
 > 2.3.8 2.5.3
info library
 > /path/to/lib/tcl8.6
catch {package require -exact tcltest 2.3} msg
 > 1
set msg
 > can't find package tcltest exactly 2.3
package require tcltest 2.3
 > 2.5.3

Date Sujet#  Auteur
30 Apr 25 * BUG: wrong usage for package loading with multiple versions available8aotto1968
30 Apr 25 +- Re: BUG: wrong usage for package loading with multiple versions available1Emiliano
30 Apr 25 `* Re: BUG: wrong usage for package loading with multiple versions available6Alan Grunwald
30 Apr 25  `* Re: BUG: wrong usage for package loading with multiple versions available5aotto1968
30 Apr 25   `* Re: BUG: wrong usage for package loading with multiple versions available4aotto1968
2 May 25    `* Re: BUG: wrong usage for package loading with multiple versions available3Ralf Fassel
3 May 25     `* Re: BUG: wrong usage for package loading with multiple versions available2aotto1968
5 May 25      `- Re: BUG: wrong usage for package loading with multiple versions available1Ralf Fassel

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal