You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check operand types in bool or, and, xor to be PyInt (RustPython#5461)
* Added Tests for Bitwise or, and, xor type error
* Sync binary operator order comment with actual implementation
* Check operand types in bool or, and, xor to be PyInt
PyNumber methods are expected to type check both arguments.
Dispatch is not done by inverting parameter order for __r<op>__ (example __ror__) when calls are handled via PyNumberMethods
0 commit comments