[issue2417] [py3k] Integer floor division (//): small int check omitted

Facundo Batista report at bugs.python.org
Wed Mar 19 17:06:27 CET 2008


Facundo Batista <facundo at taniquetil.com.ar> added the comment:

I really don't understand *why* it's a bug.

Is anywhere in the Language Reference that says that 1 should be the
same object that another 1?

Or do you mean that they *should* be the same object for speed and/or
memory reasons? In this case... is this a bug? Or a request for
improvement or something?

----------
nosy: +facundobatista

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2417>
__________________________________


More information about the Python-bugs-list mailing list