Skip to content

Do not prefer the reflected operator method for same-type operands - #22507

Closed
zhengdaodeguL wants to merge 1 commit into
python:masterfrom
zhengdaodeguL:fix/same-type-comparison-22386
Closed

zhengdaodeguL wants to merge 1 commit into
python:masterfrom
zhengdaodeguL:fix/same-type-comparison-22386

Prefer reflected operator method only when operand types differ

4651e85
Select commit
Loading
Failed to load commit list.
Sign in for the full log view

Annotations

1 warning and 1 notice
Test mypyc suite with 32-bit Python
succeeded Nov 17, 2026 in 12m 29s