Re: [sympy] How vars x, y, ... are built ?

2013-10-28 Thread Christophe Bal
Thanks for this totally in the scope of my question... ;-) Christophe -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to th

Re: [sympy] How vars x, y, ... are built ?

2013-10-27 Thread Aaron Meurer
I'm assuming you're wondering how var() injects names into its calling namespace. See https://github.com/sympy/sympy/blob/master/sympy/core/symbol.py#L465. It uses inspect.currentframe(). And the usual disclaimer: the use of var() (or a similar function) is considered bad style, because it does m

[sympy] How vars x, y, ... are built ?

2013-10-27 Thread Christophe Bal
Hello, sorry for this little out of scope question. What is used internally so as to build x with vars('x') ? Christophe -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email