News for hackers. Stuff that matters.
Re:Why Python 4.0 might never arrive, according to its creator by jefftk on Thursday June 03, 2021 @09:34AM (#27381060)
> Maintaining Python 2 indefinitely is an option actively being taken away from people

Where do you see this happening? All I see are people and organizations deciding that they don't want to do the work of maintaining Python 2.

Re:Why Python 4.0 might never arrive, according to its creator by InfiniteRand on Thursday June 03, 2021 @10:07AM (#27381567)
But if the libraries and extensions are not maintaining compatibility, you need to freeze your dependencies, and sometimes that means freezing the dependencies of your dependencies, or even your OS, and then you hope your machine doesn't break.

It's not a tragedy, backwards-compatibility is a burden, and I understand maintainers, especially volunteers not wanting to do it. But migration is a pain, I found the conversion was not too hard, but testing the migrated scripts for breakage was time consuming.

FYI, the cause of my latest migration was that the latest version for the mysql-connector for python no longer works with 2.7. See the changelog entry for v8.0.24 here: https://github.com/mysql/mysql-connector-python/blob/master/...

So something to consider if you want to stay on Python 2 forever.

Re:Why Python 4.0 might never arrive, according to its creator by busterarm on Thursday June 03, 2021 @09:38AM (#27381128)
Python 2 removed from homebrew.

Python 2.7 is not getting any security/crypto updates backported. Eventually PyPI's SSL configuration will change to a point where Python 2.7 won't handle it and then that's it. Game over, no more pip for you, even if you froze on < 21.0.

There are Linux distros out there in LTS until late into this decade that shipped with Python 2.7. Ubuntu 18 comes to mind, which EOLs in 2028. They've got a real hard problem to solve.

Re:Why Python 4.0 might never arrive, according to its creator by StavrosK on Thursday June 03, 2021 @09:43AM (#27381189)
Oh, you mean other people maintaining Python 2 for you is being taken away.

You can maintain Python 2 yourself just fine, though, if you like.

Re:Why Python 4.0 might never arrive, according to its creator by eli on Thursday June 03, 2021 @10:09AM (#27381605)
You can even still get someone else to maintain it for you! Just not the Python Software Foundation. If it's an important piece of your business it may make sense to have a support contract in place regardless.
Re:Why Python 4.0 might never arrive, according to its creator by HunterWare on Thursday June 03, 2021 @10:04AM (#27381532)
heh
Re:Why Python 4.0 might never arrive, according to its creator by dagw on Thursday June 03, 2021 @09:42AM (#27381185)
Python 2.7 is not getting any security/crypto updates backported.

There are several projects out there that are supporting python 2.7 with security updates. Tauthon is probably the biggest one.

Re:Why Python 4.0 might never arrive, according to its creator by busterarm on Thursday June 03, 2021 @09:48AM (#27381298)
Thank you. Yes it is good to see some projects stepping up the fill the gaps. I only wonder as time goes on how well socialized these will be...and if people who suddenly find themselves in the position of maintaining an old Python code base will be able to find out what to do.
Re:Why Python 4.0 might never arrive, according to its creator by dagw on Thursday June 03, 2021 @09:56AM (#27381402)
Tauthon is kind of interesting because in addition to guaranteeing compatibility with the latest official 2.7 release they are also trying to back-port as many python 3 feature as makes sense without breaking the backwards comparability.
Re:Why Python 4.0 might never arrive, according to its creator by tremon on Thursday June 03, 2021 @09:43AM (#27381190)
How does that "actively take away from people the option to maintain Python 2 indefinitely"?

It appears to only take away from people the option to use the unmaintained Python 2.

[dead]
Re:Why Python 4.0 might never arrive, according to its creator by oefrha on Thursday June 03, 2021 @10:09AM (#27381601)
Python branches are maintained for five years. Python 2.7 was maintained for an extra five years. You were free to choose any other language with decades of long term support, and you are still free to have this one extended (yes, there are companies selling paid support for Python 2.7 or really old Django versions); not reading what was written on the box then bitching about it is what I would call “nasty”.

Btw you can still return your copy of Python for a full refund.

Re:Why Python 4.0 might never arrive, according to its creator by busterarm on Thursday June 03, 2021 @12:49PM (#27384019)
The lifecycle of software is a lot longer than five years and most people stewarding languages are friendlier to that notion. ANSI C & C99 still have the best support to this day.

Just because Python core can say that they support for five years and act like they're being generous when they do so does not make them less like asshats. Most software is not a living, breathing thing.

Re:Why Python 4.0 might never arrive, according to its creator by eli on Thursday June 03, 2021 @10:03AM (#27381512)
The only nasty comment in this thread is yours.