sympy/sympy — pull request #7458 by lennart0901 (2014-05-02 18:40:56+00:00)
Title: cse_main: Check for used symbols, workaround for #5331

This is a workaround or fix for #5331. Alternative to PR #7455