[Python-ideas] Expansion of the range of small integers
storchaka at gmail.com
Mon Sep 17 15:40:29 CEST 2012
On 17.09.12 16:09, Steven D'Aprano wrote:
> Extending that behaviour up to 32767 will further blur the distinction.
This is not an argument either for or against. Beginners will always
find something to discourage.
>>> 1000000 is 1000000
>>> a = 1000000
>>> b = 1000000
>>> a is b
"I think it's better to give users the rope they want than to try and
prevent them from hanging themselves, since otherwise they'll just use
the power cords as ropes and electrocute themselves". (GvR)
More information about the Python-ideas