Comment #8 on issue 1680 by asmeurer: Infinite recursion in cos (and other  
trigonometric functions)
http://code.google.com/p/sympy/issues/detail?id=1680

The problem with different architectures is that Python's hash() function  
gives different results for hashable objects
on different architectures.  We sort .args by hash value when it is  
commutative, so any routine that could give a
different result for differently ordered hashes will work differently on  
different architectures.  So for example, if a
routine like could_extract_minus_sign() does something like remove the  
minus sign from the first element of the
.args, then it will work differently depending on if (x - y).args is (x, y)  
or (y, x).

Quite often this is buried and can be hard to trace.  The easiest way to  
debug it is to get two machines, one for
which it works and one for which it doesn't, and then step through on each  
with a debugger until something is
different.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to