[issue26026] True%2 is True

2016-01-07 Thread Hristo Venev
Hristo Venev added the comment: One last thing: type(a%b) is A, type(b%a) is int. -- ___ Python tracker ___

[issue26026] True%2 is True

2016-01-06 Thread Hristo Venev
Changes by Hristo Venev : -- title: True%2==True -> True%2 is True ___ Python tracker ___

[issue26026] True%2 is True

2016-01-06 Thread SilentGhost
SilentGhost added the comment: Arithmetic operations should not be used with booleans, they happen to work due to boolean bean a subclass of int. -- nosy: +SilentGhost resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior