Hacker News new | ask | show | jobs
by nano9 1269 days ago
I welcome Python3 just fine. Character data no longer being automatically ASCII might be a bit annoying, but it's fine if that's what it takes to support a more global developer base.

I just wish they would stop iterating on the minor version so quickly. Why are we on python 3.11 (for workgroups, just kidding)? Is there that much of a difference compared to 3.7? 3.7 even has dicts with stable key insertion order and type hinting, so it seems pretty loaded if you ask me.

2 comments

I don't think we'll see a version 4 for the next decade or so (because of the python3 debacle) - so it'll probably just be various improvements to the standard library.

There's a lot of improvements being made to Python on these minor versions. So while the version bump looks minor, they can make quite a big impact.

3.11 improved performance by 25-60% (depending on use-case). 3.12 is set to improve performance yet again (Special thanks to Mark Shannon, GvR and Microsoft). On top of that there's a lot of quality-of-life improvements for the various parts of the std.lib.

I like this apporach very much, since upgrading to a new minor Python version is somewhat trivial

Performance improvements without changes to the interface seems like it should have been 3.11.1; were there other changes?
Were strings in Python 2 really only ASCII? I was sure you could put UTF-8 data in Python 2 strings?