[sage-devel] Re: .subs(locals()) causes problems

2009-04-20 Thread Stan Schymanski
I'm not sure if I understand correctly. If I include e or pi in the substitution (e.g. y(pi = pi)), they are seen as arguments for the rest of the session. However, if I query for type(e) or type(pi), I still get class 'sage.functions.constants.E'. This seems inconsistent to me. If this is

[sage-devel] Re: .subs(locals()) causes problems

2009-04-17 Thread Carl Witty
On Thu, Apr 9, 2009 at 12:22 AM, Stan Schymanski schym...@gmail.com wrote: Dear all, I encountered some mysterious problems earlier when I used .subs(locals ()), where some global variables such as pi and e were lost (see. e.g. thread