4 ms·
I still don't get why they didn't reduce API of the interpreter internals in Python 3 so that things like this would be more achievable. If you're going to bre
by Pxtl 3y ago
I still don't get why they didn't reduce API of the interpreter internals in Python 3 so that things like this would be more achievable.
If you're going to break backwards compatibility, it's not like Unicode was the only foundational problem Python 2 had.
- peterfirefly 3y agoThey did change the API for Python modules implemented in C. That was actually part of the reason why the 2->3 transition went so badly. It wasn't realistic to switch to 3.x when the libraries either weren't there or were a lot slower (due to using pure Python instead of C code). It also wasn't realistic to rewrite the libraries when the users weren't there. It was in many respects a perfect case study in how not to do version upgrades.