Comment #2 on issue 2889 by asmeu...@gmail.com: S('x!') fails (should be
factorial(x))
http://code.google.com/p/sympy/issues/detail?id=2889
Se also have
In [61]: str(factorial2(x))
Out[61]: x!!
which, oddly enough, doesn't even pretty print that way:
In [60]: factorial2(x)
Out[60]: factorialâ‚‚(x)
In [62]: pprint(factorial2(x), use_unicode=False)
factorial2(x)
If it's not possible to extend sympify() to use !, then we should make
str() give just factorial(x) and use x! only for pretty printing (the same
for factorial2()).
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.