5 ms·
I think it's been decided that such a change was so large that it would require a major version change in Python. However, I think that was unauthoritative hear
by dwrodri 4y ago
I think it's been decided that such a change was so large that it would require a major version change in Python. However, I think that was unauthoritative hearsay probably in another comment thread here on HN. But it stands to reason that removing the GIL will almost certainly change Python's memory model in some ways that could break code in ways that warrant a major version bump.
- KronisLV 4y ago> I think it's been decided that such a change was so large that it would require a major version change in Python. Hah, I wonder what else Python 4 could have in it. The Python 2 to 3 migration was hard enough and there were certain challenges along the way (mostly package availability and syntax changes, though the same is happening with new Vue versions) but it seems that in regards to most metrics Python 3 was indeed an improvement, apart from the startup time.
- rat9988 4y agoAn improvement that was not worth the cost. I guess many people aren't looking forward python 4.
- anakaine 4y agoI tend to disagree on no other basis than I've found python 3 to be a lot friendlier to use than python 2. Also, a number of scripts I have operate quicker under python 3, not by a lot, but its still a small win.
- nurettin 4y agoHalf the world wouldn't be using python if it wasn't for the typing module. The other half is probably waiting for speed improvements.
- coldtea 4y ago>Half the world wouldn't be using python if it wasn't for the typing module Hardly. The majority of Python users don't use the typing module.
- nurettin 4y agoOh you went for number of programmers, that isn't what I meant (obviously). Think influence. Think dropbox, uber, amazon. And think stripe trying to add type annotations to ruby. This is what I meant.
- coldtea 4y agoWell, Dropbox, Uber and Amazon used Python way before the typing module... and many others, including Google. They might want it in (and helped add it), but it's not what made them use Python.
- nurettin 4y agoOkay, I will spell it out: large companies require robust code and typing provides it.
- coldtea 4y agoOkay, my $0.02 cents: this is mostly a periodic trend. Large companies had static codebases and switched many codebases to dynamic types circa 2000-2010. And we've even been to the same circle before: a lot of programming the 60s and 70s was untyped, then they switched to typed C++, Delphi and then Java.
- hyperbovine 4y agoJust so I understand: “half the world” is now a measure of influence, not people? And this is supposed to be obvious?
- 4y ago
- chpatrick 4y agoCan we have block scope?