[New-bugs-announce] [issue26026] True%2==True

Hristo Venev report at bugs.python.org
Wed Jan 6 13:38:14 EST 2016


New submission from Hristo Venev:

Should be 1. This comes from the (a%b=a if a<b) optimization.

Let's be consistent with all other arithmetic operations.

----------
components: Interpreter Core
messages: 257629
nosy: h.venev
priority: normal
severity: normal
status: open
title: True%2==True
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26026>
_______________________________________


More information about the New-bugs-announce mailing list