Files
openide/python/python-psi-impl
Mikhail Golubev dc29f4a9bc PY-81926 Don't report using classes overriding __or__ in the Class1 | Class2 notation for unions
It should only be special cases for classes which *metaclasses*
override `__or__` so that this notation is possible.

Other type checkers treat such union of classes overriding
__or__ in their metaclass as Unknown.

(cherry picked from commit c16edee2346582745aa5090c3d8f568a4513afc1)

IJ-CR-176451

(cherry picked from commit 4dfc125bcfc625d1fe5577695e9a75449f40594a)

GitOrigin-RevId: 9f066646863ec321bcace0d2d10efe44a3c12728
2025-10-22 22:19:35 +00:00
..