Re:Why Python 4.0 might never arrive, according to its creator
by pansa2 on Thursday June 03, 2021 @10:35AM
(#27382005)
Python’s separation between ints and floats is quite weak, so it didn’t make sense for `3 / 2` to give a different result from `3.0 / 2` (1 and 1.5 respectively). Python 3 changed the division operator to return 1.5 in both cases.
[ Parent
| on HN ]
There are no comments on this comment yet.