OK, but that only explains why it injects things into a scope. Why does it
inject them into the *global* scope, and not the local scope? Or is this
not possible?
-Keshav
Join us in #sagemath on irc.freenode.net !
--
To post to this group, send email to sage-support@googlegroups.com
To un
On Tuesday, January 17, 2012 6:06:25 PM UTC+8, luisfe wrote:
> On Jan 16, 5:53 pm, Ed Scheinerman
> wrote:
> > I'm confused by the fact that variables defined inside functions can
> > "leak out" and become global variables. Here's what I've noticed.
>
> The problem is twith the function var.
On Jan 16, 5:53 pm, Ed Scheinerman
wrote:
> I'm confused by the fact that variables defined inside functions can
> "leak out" and become global variables. Here's what I've noticed.
The problem is twith the function var. According to its documentation:
(var?)
"The new variable is both returned