Comment #6 on issue 2039 by smichr: Mul.eval_subs problems http://code.google.com/p/sympy/issues/detail?id=2039
Re comment 4: How ironic! I didn't put that test in because I knew it wasn't walking over the end of a list anymore. But it failed for a different reason this time. Again...nice sluething!
Please accept my humble second submission with that test added (and changes made). I also added a test that causes infinite recursion in master and the 2022-patched master:
((1+A*B)*A*B).subs(A*B, x*A*B)
If you could break it again, I would be most appreciative :-) Re comment 5: I think the same thing every time I write a workaround. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-iss...@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.