Overview
| Artifact ID: | eb830488a3c4fb7e8659f52626df44733bc32ad239f5d930f0828878b6e456a5 |
|---|---|
| Ticket: | 4f06d7ca089e8a6d2321cdf59da48be09654013d
package require in secondary interpreters fails for static packages |
| User & Date: | apnadkarni on 2026-05-09 05:20:33 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
The failure is demonstrated as below (this needs to be a static Tcl shell) ``` % info pat 8.6.18 % package req registry 1.3.5 % interp create ip ip % ip eval {package require registry} can't find package registry % ip eval {load {} Registry} % exit ``` The original report came from @morganw on the chat with the script below that does not print 1 2 3 in a static shell. ``` set scriptDir [file dirname [file normalize [info script]]] set libDir [file join $scriptDir "lib"] lappend auto_path $libDir package require Thread set workerThread [thread::create [subst { lappend auto_path $libDir package require registry thread::wait }]] thread::send -async $workerThread { list 1 2 3 } result vwait result puts $result ``` - foundin changed to: "8.6"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "39. Package Manager"
- title changed to:
package require in secondary interpreters fails for static packages
- type changed to: "Bug"