Tim Peters <tim.pet...@gmail.com> added the comment:

Yup, -1 here too.  For dyadic arithmetic operations (+ - * / % //) on
mixed numeric types, Python's execution model coerces the operands to a
common type before computation begins.  Besides just being the way it's
worked "forever" in Python, it's consistent and explainable.  Growing a
wart for one case of one case would be inconsistent and deeply
surprising at a higher level.  Live with it ;-)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6387>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to