Leaklens

django__django-15400

SimpleLazyObject doesn't implement __radd__

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

The minimal implementation I've found that works for me is: def __radd__(self, other): if self._wrapped is empty: self._setup() return other + self._wrapped

The text states the fix: “The minimal implementation I've found that works for me is: def __radd__(self, other): if self._wrapped is empty: self._setup() return other + self._wrapped”

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