[issue21422] int << 0: return the number unmodified

STINNER Victor report at bugs.python.org
Mon May 12 22:44:42 CEST 2014


STINNER Victor added the comment:

Ok, 3 core dev are opposed to the change, I close the issue.

I added a test on bool >> int and bool << int to ensure that the result is an int.

----------
resolution:  -> rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list