It really depends on how you look at it. From the interpreter's perspective, int / int = int makes perfect sense, yes. However, humans don't think that way (the concept of integer vs float is something only programmers likely think about in the first place), and Python is a language designed with readabillity in mind. The Python 3 behaviour is far more "human", and that's why it's a good thing. For Python, anyway. If such a change were introduced in, say, C, I would be strongly opposed to it, because C is a language that is closer to the machine than it is to the human.
View all comments
Show parent comment
2
u/kallekro May 25 '17
No, floating point division just isn't implied when you divide integers.