New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sympy fails to construct (1 + x)*x with disabled cache #8840

DLunin opened this Issue Jan 17, 2015 · 0 comments


None yet
1 participant
Copy link

DLunin commented Jan 17, 2015

python v. 3.4, sympy v. 0.7.6
When caching is disabled (i.e. SYMPY_USE_CACHE=no)

from sympy import *
expr = (1 + x)*x

goes to infinite recursion.

skirpichev added a commit to diofant/diofant that referenced this issue Oct 2, 2015

Fix infinite recursions when caching is disabled
Refactor some assumptions helpers for Mul to reduce circularity.
Fixes sympy/sympy#8840, fixes sympy/sympy#9413, fixes sin(x + x).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment