On Thursday, 9 June 2016 17:10:44 UTC+2, Johan S. R. Nielsen wrote: > > > from sage.misc.misc import inject_variable > > from mytest.test import atest > > inject_variable('atest',atest) > > > > *Question*: do people think that it is reasonable for a package to do > this? > > I would also say "No". The reason is that if that is what the user > wanted, he could just have done "from mytest import *". If he explicitly > does "import mytest" it's because he wants the control over the > namespace
Sorry, I didn't fully appreciate your comment above when I first read it. I agree, this is fairly compelling. Andrew -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.