From: Brian L. <Bri...@En...> - 2000-08-31 19:32:06
|
jef...@aj... said: > The quandry being whether ::B::foo should still have executed in the > creating namespace (::A). Personally I think the above seems logical, > but some argue that the original proc author should be the only one to > say what namespace the proc evals in. It's been a while so I don't recall all the context, but I believe I made the bug fix after someone complained that they were surprised by the initial "execute in the original namespace" semantics. Thinking about it now, I'm not sure what semantics are correct. The current scheme really moves the proc including where it's globals point. The original scheme would let you repackage procs under a new namespace (good), but then those procs can have side effects outside their repackaged namespace (probably bad). Brian -- The TclCore mailing list is sponsored by Ajuba Solutions To unsubscribe: email tcl...@aj... with the word UNSUBSCRIBE as the subject. |