Leaklens

sympy__sympy-18835

uniq modifies list argument

Verdict: the fix is stated in the issue (Tier A).

I think this would entail recording the size at the start and then checking the size and raising a similar RuntimeError if the size changes.

The text states the fix: “I think this would entail recording the size at the start and then checking the size and raising a similar RuntimeError if the size changes.”

All SWE-bench Lite tasks · more sympy/sympy tasks · How the check works