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
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
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
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
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
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
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
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
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
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:
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
11 matches
Mail list logo