r/Python • • Jun 27 '18

Python 3.7.0 released

https://www.python.org/downloads/release/python-370/
1.3k Upvotes

293 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Jun 28 '18

[deleted]

19

u/uFuckingCrumpet Jun 28 '18

There are probably a lot different reasons. Some that occur to me are:

- Python is pretty frequently used by non comp-scientists are are generally less inclined to embrace learning new languages (or changes to languages they are already comfortable with).

- Moving from Python 2 to Python 3 typically breaks stuff. So unless you start something in Python 3, it's usually a headache to get everything back up and running if you switch.

- Not all libraries get updated. This again goes somewhat back to non CS people contributing lots of code but not necessarily having the interest to update for newer versions.

- The differences between Python 2 and Python 3 aren't drastic enough to convince most people to switch.

1

u/[deleted] Jun 28 '18

Not all libraries get updated.

Nonsense. Any library worth its salt was updated years ago. The trivial ones that haven't been touched in years should be a piece of cake to update, unless someone has all ready done it for you.

2

u/uFuckingCrumpet Jun 28 '18

I hate to break it to you, but python is very popular among scientists who like to write their own packages/libraries. Those people also don't tend to update them. And yet, even though they were only written by a small group of people, they are still useful and used by many others in the field.

0

u/zardeh Jun 28 '18

The scientific python community is one of the ones leading the way towards python 3 adoption. The scipy stack (which is basically the core of scientific python, practically everything scientific depends on some piece of it) is py3 only going forward already. Future versions will not support python2.

1

u/uFuckingCrumpet Jun 28 '18

By this logic, most Asians are 7'6" because Yao Ming is 7'6".

Also no, scipy is not a dependency "in practically everything scientific". But again, that doesn't even begin to be an example of what we're talking about.

2

u/zardeh Jun 28 '18

Erm, no, not really. But sure :)

The majority of open source scientific python libraries are python3 compatible.

1

u/uFuckingCrumpet Jun 28 '18

Again, you're confusing size with frequency. All of the big packages tend to get updated. But there are thousands upon thousands of small packages written by individual research groups and projects that literally never get updated even once. And this notion that those things are never useful or used is ridiculous.

The fact that Scipy gets updated doesn't mean that all of those scripts people build in research groups are also getting updated. And the fact that Scipy gets updates doesn't mean the scientific community, as a whole, are doing a good job of keeping all of their utilities modern. That's just a completely nonsensical argument.

1

u/zardeh Jun 28 '18

And this notion that those things are never useful or used is ridiculous.

I didn't say that. I will however claim that they are used infrequently compared to the big ones. So for a better claim:

The majority of scientific python code has a set of dependencies which all have python3 compatible versions. In other words, for the majority of scientific python code, python3 compatibility can be solved by updating to the most recent versions of your dependencies and then fixing any python errors in your own code, it doesn't require any changes to upstream.

I stand by that claim.

→ More replies (0)