ReprClass instances are treated as constants, so 'is' and 'is not' comparisons to them shouldn't break after…
ReprClass instances are treated as constants, so 'is' and 'is not' comparisons to them shouldn't break after…: a task in swe-rebench-v2.1-rl-isolated-1k: SWE-rebench V2.1 RL, isolated grading (1k subset) (Harbor dataset). We have many 'is' and 'is not' comparisons to various ReprClass objects like…
The task
We have many 'is' and 'is not' comparisons to various _ReprClass objects like _UNDEFINED and _DEFAULT_OUT_STREAM which we treat as constants. If we deepcopy an object that contains a _ReprClass object, those 'is' and 'is not' comparisons will break in the copy.