4 ms·
The double underscore methods are some of the ugliest parts of Python. If they were going to break compatibility, I'd get rid of them too.
by speedplane 9y ago
The double underscore methods are some of the ugliest parts of Python. If they were going to break compatibility, I'd get rid of them too.
- m_mueller 9y agoI think you're right, only this wouldn't require breaking compatibility. It doesn't even require a python upgrade, you could just make a base class that remaps nicer named functions to the standard ones, like baseclass.is_lower_than = baseclass.__lt__
- speedplane 9y agoYou're probably right. Sadly, the vast majority of the python upgrades probably did not require breaking compatibility. Or if they did, they weren't worth it. I understand that iterators are arguably better than lists and print should arguably be a real function, but those advantages are far too small to justify breaking compatibility.