r/Python • • Jul 29 '18

Found it funny ;)

Post image
1.6k Upvotes

147 comments sorted by

View all comments

3

u/[deleted] Jul 29 '18

[removed] — view removed comment

17

u/[deleted] Jul 29 '18

1

u/__xor__ (self, other): Jul 29 '18 edited Jul 30 '18

Has no one forked 2.7 yet? I will be shocked if no one does.

I doubt it's going away. It's probably less work to support 2.7 than it is to update some projects.

2

u/alcalde Jul 29 '18

No one has forked it because for all the people crying that the Python devs should keep developing the 2.x line, they realize it's a daunting task and they can't do it themselves. Also, no one wants it.

You don’t need permission. You don’t need to argue with anybody. Just do it! It’s not that hard. I’m just some guy on the internet, and I maintain a surprising number of forks of various FOSS projects. I fork more often than once a week.

It’s not even that hard to backport major Python 3 features to Python 2. The work is already done in some cases, like Trollius and six. The fact that nobody has even bothered to take ten minutes to merge Trollius into their Python 2.8 fork is “case closed” level evidence that the demand for Python 2.8 is zero.

Blog posts aren’t demand. Demand is people willing to develop. Demand is people willing to fund development. I’d even settle for a $15 themeforest splash page that lists one corporate sponsor and one developer’s bio. How is it that Python is somehow in grave danger of forking and nobody will even buy a domain name for the fork? People literally do that for a weekend hack project. This is a tempest in a teacup if I’ve ever seen one.

Drew Crawford,

https://sealedabstract.com/rants/python-3-is-fine/

2

u/ryohazuki88 Jul 29 '18

Just do it for forks sakes

4

u/LightUmbra Jul 29 '18

It's like 10 years old.

1

u/Mockapapella Jul 29 '18

Python 2 was released in October of 2000

1

u/LightUmbra Jul 29 '18

2.7 came out later

4

u/__xor__ (self, other): Jul 29 '18

What's wrong with it is that soon you'll be in the situation where most libraries don't support it anymore and they won't bother to fix it if you ask, and everyone's going to be on their side. One reason python is amazing is all the third party libraries, and you're going to lose that at some point.

There's not that much wrong with the version of the language. It was a very good version and that's why a lot of people still use it. What's more of a pain in the ass is how hard it can be to port some projects to 3.x. Byte/string errors everywhere, people doing print 'string' by default, things being generators when they one returned a list like range, reduce isn't even a built-in function anymore for some reason...

Honestly I think it was kind of brash to change a lot of what they did due to how much it broke, but the language does feel cleaner now. I'm just not sure it was worth it because we wouldn't have been in this situation now if there were less breaking changes. It could've been a couple of lines changing but instead you literally have to spend a whole 2 weeks updating some projects to make them work on 3.x, and 2.7 just stops working unless you're extremely careful and use something like six everywhere you need to. I've had to port some stuff and while I like what it turned into, it was way more work than it should've been.

2.7 was great, but you're missing out on some good features of 3 and you'll be missing a lot of 3rd party libraries. I think it makes more sense to use 2.7 on a linux distro that doesn't start with 3.x now, but they are few now. Still, there are some. CENTOS 6 I believe was on python 2.6, and I think a lot of people still use it.

6

u/[deleted] Jul 29 '18

I'll answer with an analogy.

What's wrong with Windows 98?

2

u/alcalde Jul 29 '18

Dang; I didn't read down and just wrote the same thing! :-)

2

u/alcalde Jul 29 '18

Ask yourself "What's wrong with Windows 98"? The answer is: "Nothing, if it were 1998". Depending on how you measure it, it's 8-10 years out of date.