currently SymPy has a rather confusing behaviour:

In [1]: isprime(1)
Out[1]: False

In [2]: Integer(1).is_prime
Out[2]: True

I'd be glad to fix this, but ... which one is correct?

-- 
Fabian, http://fseoane.net/blog/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to