sympy__sympy-20154
partitions() reusing the output dictionaries
Verdict: the fix is stated in the issue (Tier A).
I'm wondering if it's really that important for it to do this. It shouldn't be that much of a performance loss to copy the dictionary before yielding it.
The text states the fix: “I'm wondering if it's really that important for it to do this. It shouldn't be that much of a performance loss to copy the dictionary before yielding it.”
All SWE-bench Verified tasks · more sympy/sympy tasks · How the check works