3 ms·
It shouldn't be a subclass of int. http://arxiv.org/abs/math/9205211 http://arxiv.org/abs/math/9205211
by cma 14y ago
It shouldn't be a subclass of int. http://arxiv.org/abs/math/9205211 http://arxiv.org/abs/math/9205211
- pekk 14y agoThen it gets fixed, and everyone screams because it's not backward compatible (Python 3).
- cma 14y agoIt should have just been part of Python 3.
- mixmastamyk 14y agoYep, but they didn't aim to or succeed in 'fixing everything' in python3, just the most pressing items. Here's to Python 4!
- ubernostrum 14y agoYou're free to argue that. But the fact that it is, and behaves correctly as a subclass of int, does not make Python be weakly typed. In fact, rather the opposite.