Issue 1369 in sympy: pi cannot be evaluated alone

2009-03-31 Thread codesite-noreply
Comment #10 on issue 1369 by YnCopin: pi cannot be evaluated alone http://code.google.com/p/sympy/issues/detail?id=1369 In the first place, I guess this is all due to the fact that a Symbol (like 'x') and NumberSymbol (like 'pi') have a __call__ method, and therefore "autocall 2" autocalls t

Issue 1369 in sympy: pi cannot be evaluated alone

2009-03-30 Thread codesite-noreply
Comment #9 on issue 1369 by ondrej.certik: pi cannot be evaluated alone http://code.google.com/p/sympy/issues/detail?id=1369 Or do you think sympy should work even with autocall 2? If so, please reopen the issue. -- You received this message because you are listed in the owner or CC fields of

Issue 1369 in sympy: pi cannot be evaluated alone

2009-03-30 Thread codesite-noreply
Updates: Status: Fixed Comment #8 on issue 1369 by ondrej.certik: pi cannot be evaluated alone http://code.google.com/p/sympy/issues/detail?id=1369 Awesome! So I think this issue is fixed now. -- You received this message because you are listed in the owner or CC fields of this issue, o

Issue 1369 in sympy: pi cannot be evaluated alone

2009-03-30 Thread codesite-noreply
Comment #7 on issue 1369 by YnCopin: pi cannot be evaluated alone http://code.google.com/p/sympy/issues/detail?id=1369 Indeed this is due to: autocall 2 in my ipythonrc. With default "autocall 1", I get the "expected" behavior: In [1]: pi Out[1]: π Thanks for your help! -- You received this

Issue 1369 in sympy: pi cannot be evaluated alone

2009-03-30 Thread codesite-noreply
Comment #6 on issue 1369 by ondrej.certik: pi cannot be evaluated alone http://code.google.com/p/sympy/issues/detail?id=1369 Ah, I understand now. No, what you found is a serious bug! However, I can't reproduce it, as it behaves differently for me: In [1]: x Out[1]: x In [2]: pi Out[2]: π In

Issue 1369 in sympy: pi cannot be evaluated alone

2009-03-30 Thread codesite-noreply
Comment #5 on issue 1369 by YnCopin: pi cannot be evaluated alone http://code.google.com/p/sympy/issues/detail?id=1369 Actually, I did *not* type "pi()" myself, but simply "pi" (to check if the symbol was defined), and isympy extended it to "pi()". When I initially typed in "pi", I was expecti

Issue 1369 in sympy: pi cannot be evaluated alone

2009-03-30 Thread codesite-noreply
Updates: Status: Accepted Comment #4 on issue 1369 by ondrej.certik: pi cannot be evaluated alone http://code.google.com/p/sympy/issues/detail?id=1369 I am interested in expectations like this, thanks for reporting it. I am just trying to figure out what exactly you expected to happen w

Issue 1369 in sympy: pi cannot be evaluated alone

2009-03-30 Thread codesite-noreply
Comment #3 on issue 1369 by YnCopin: pi cannot be evaluated alone http://code.google.com/p/sympy/issues/detail?id=1369 In any case, I wasn't expecting a simple expression like "pi" to raise an error, but to do something similar to: In [12]: 2 Out[12]: 2 In [13]: x = Symbol('x') In [14]: x

Issue 1369 in sympy: pi cannot be evaluated alone

2009-03-30 Thread codesite-noreply
Comment #2 on issue 1369 by ondrej.certik: pi cannot be evaluated alone http://code.google.com/p/sympy/issues/detail?id=1369 Or this: In [2]: pi({}) Out[2]: π -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You ma

Issue 1369 in sympy: pi cannot be evaluated alone

2009-03-30 Thread codesite-noreply
Comment #1 on issue 1369 by ondrej.certik: pi cannot be evaluated alone http://code.google.com/p/sympy/issues/detail?id=1369 Interesting. We use the () syntax like a substitution, so I don't understand what the pi() should do --- what do you mean by evaluate to itself? You can do things like:

Issue 1369 in sympy: pi cannot be evaluated alone

2009-03-30 Thread codesite-noreply
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1369 by YnCopin: pi cannot be evaluated alone http://code.google.com/p/sympy/issues/detail?id=1369 I was surprised by the following non-intuitive behavior: $ isympy Python 2.5.2 console for SymPy 0.6.4.beta3 These commands w