Artifacts Associated With Ticket 2980235fffffffffffffffffffffffffffffffff
Ticket change [c42007a101] (rid 111788) by dgp on 2010-03-31 20:50:30:
- assignee initialized to: "vasiljevic"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The pkgIndex.tcl file for the Thread and Ttrace packages creates the commands [::thread_load] and [::thread_source] inside every interp that happens to run [::tclPkgUnknown], whether or not that interp ever actually does a [package require] on Thread or Ttrace. This is unwelcome pollution. Bad by any measure. Doubly bad in the global namespace. This is very easy to fix with the use of the [::apply] command, so long as a dependence on Tcl 8.5 is permissible. If there is movement to better separate the two packages (see message on TCLCORE), then the index script may change enough as a result of that to make the issue go away.
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "80. Thread Package"
- title initialized to: "command pollution in interps w/o package require"
- type initialized to: "Bug"
Ticket change [a7b4bd72a4] (rid 98858) by vasiljevic on 2010-04-01 04:03:50:
- icomment:
I would separate the two and this would make the package loading trivial. No problem with that.
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"
- icomment:
Ticket change [7c414ffaf8] (rid 97046) by dgp on 2010-08-31 22:55:03:
- icomment:
A partial remedy has been committed (thanks aku!) using [::apply] when it is available to avoid the pollution. Still would like to see the Thread and Ttrace packages disentangled, but getting Thread bundled with Tcl is more important than that.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [663ba1c3ce] (rid 102670) by vasiljevic on 2010-09-29 02:19:00:
- icomment:
Somebody already added this in the pkgIndex.tcl.in in HEAD (wasn't me). Was it yourself? Can I close this one?
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"
- icomment:
Ticket change [55a356d650] (rid 94176) by andreas_kupries on 2010-09-29 02:20:41:
- icomment:
That was I.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [84a09ed1e0] (rid 117589) by vasiljevic on 2010-09-29 02:46:04:
- icomment:
Aha! Well then I will close this one as all is already taken care of.
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"
- icomment:
Ticket change [2a3cecf85c] (rid 118520) by vasiljevic on 2010-09-29 02:46:05:
- closedate changed to: "2010-09-28T19:46:05"
- closer changed to: "vasiljevic"
- icomment:
allow_comments - 1
- login: "vasiljevic"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "vasiljevic"