Re: [sympy] why doesn't x(1) complain?

2009-11-25 Thread Ondrej Certik
On Tue, Nov 24, 2009 at 7:12 PM, smichr wrote: > The following does not complain: > > ### var('x') > x x(1) > x(1) > ### > > I wish this would raise an error... If x isn't a function, what > meaning would x(1) have? One problem with no warning being given is > that if you import everythi

Re: [sympy] why doesn't x(1) complain?

2009-11-24 Thread Ronan Lamy
Le mardi 24 novembre 2009 à 19:12 -0800, smichr a écrit : > The following does not complain: > > ### > >>> var('x') > x > >>> x(1) > x(1) > ### > > I wish this would raise an error... If x isn't a function, what > meaning would x(1) have? One problem with no warning being given is > that if you i

[sympy] why doesn't x(1) complain?

2009-11-24 Thread smichr
The following does not complain: ### >>> var('x') x >>> x(1) x(1) ### I wish this would raise an error... If x isn't a function, what meaning would x(1) have? One problem with no warning being given is that if you import everything from symp.abc as in "from symp.abc import *" you will wipe out S