News for hackers. Stuff that matters.
Re:Most popular Python packages now support Python 3 by frou_dh on Saturday December 02, 2017 @02:46PM (#15833628)
I have extreme Python 2-vs-3 fatigue and that's only from seeing the topic on news aggregators for years on end. I can't fathom how tedious the topic must be for those actually in the Python community for the whole time.
Re:Most popular Python packages now support Python 3 by Xixi on Saturday December 02, 2017 @05:01PM (#15834389)
Rather heavy Python user here, though a little bit less over the last year: I think the whole thing is largely overblown. I've fully migrated to Python3 three years ago, was expecting horror given all the articles and 2vs3 drama, yet it was done very quickly and painlessly.

I've gone through migrations that were much more tedious and painful. Not so much with languages but with dependencies/frameworks: the like of Django, Django-rest-framework, Unity 3D, and pretty much anything javascript (apart from javascript itself).

Re:Most popular Python packages now support Python 3 by viraptor on Saturday December 02, 2017 @02:51PM (#15833658)
I feel like it's the news that are tedious mostly. Py3 has been an exciting upgrade, but almost a non-event in the grand scheme of things. At least in my Python dev life.
Re:Most popular Python packages now support Python 3 by jnbiche on Saturday December 02, 2017 @03:57PM (#15834042)
The migration is done. Anyone who's not starting projects in Python 3 now will soon be obsolete, because the community has definitely moved on.
Re:Most popular Python packages now support Python 3 by adeelk93 on Sunday December 03, 2017 @02:11AM (#15836421)
Community might have, but industry hasn't. You're right, the dust has settled. If you haven't migrated to Python 3 yet, you likely never will. All the reasons to use 2 or 3 have already been established. I doubt there will be any more new information that will sway people from the stance they've already taken.
Re:Most popular Python packages now support Python 3 by rectangletangle on Saturday December 02, 2017 @04:23PM (#15834152)
It's not really bad anymore. I moved to 3 about two years ago now, and haven't looked back. There was a brief period of working with polyfilled six hacks, but currently the community and momentum are largely behind 3.

There was a point where there was some FUD around the migration, painting it as a sequel to PERL 6. However, the community managed to turn it around. To their credit, orchestrating large breaking changes to a popular language with a diverse set of use cases is fundamentally a very challenging task.

The main holdouts for Python 2 are large organizations which have a lot of existing/working legacy code. The majority of new Python projects seem to be using Python 3.

Now that the work is nearly done, we can all enjoy a better Python.

I very recently moved to 3.6, from 3.5. There's a saying that a luxury once sampled becomes a necessity, which sums up my opinion on the new f-string syntax.

Re:Most popular Python packages now support Python 3 by Cyph0n on Saturday December 02, 2017 @03:38PM (#15833926)
Tedious? How so? Because there is no more Python 2 vs 3 anymore. Whoever hasn't migrated will be stuck using deprecated libraries and outdated tools.

Yes, Python 3 was initially a risky endeavor, but in the past couple of years it has cemented its position as the true and only version of Python.

Re:Most popular Python packages now support Python 3 by tigershark on Saturday December 02, 2017 @07:52PM (#15835314)
For me, completely outside the Python community, I really can't fathom how migrating to the next major version of the language can protract for so long... And I have been in some painful migrations in my life... Java 1.4 to 5 in a >1M loc "enterprise" application. From an object oriented database to oracle in the same application. But it didn't last for close to 10 years. It's simply a complete nonsense to my eyes.
Re:Most popular Python packages now support Python 3 by PurpleRamen on Sunday December 03, 2017 @04:04AM (#15836725)
It's not 10 years, just 2-3 years. Python3 for the longest time was not useable. Only with 3.3 it became stable enough, and it took until 3.5 until it was even good enough and many libs were ported.

On top of it, Python2 works so well and python3 introduces so few advantages that doing an expensive port is just not feasable for many codebases.

And I guess that python is used mostly by smaller companys with constantly lacking manpower and money plays also an important role.

Re:Most popular Python packages now support Python 3 by collinmanderson on Sunday December 03, 2017 @02:46PM (#15839136)
The way I see it:

- 2008-2012 Python 3 as a language becoming usable

- 2012-2016 Libraries gaining Python 2 compatibility (and dropping 2.4 and below)

- 2016-2020 Applications porting now that most libraries are compatible.

Re:Most popular Python packages now support Python 3 by Cyph0n on Saturday December 02, 2017 @08:38PM (#15835513)
I think the main reason was a lack of agreement between the community and the language maintainer(s) (see: Guido the BDFL). I highly doubt something like this would have happened if the community had been involved. The language maintainers themselves have clarified that introducing breaking changes was a mistake in hindsight and that it will never happen again.

Anyways, the fiasco is over and Python 3 has emerged as the victor, so there really is no use discussing the issue anymore imo.

Re:Most popular Python packages now support Python 3 by actuallyalys on Saturday December 02, 2017 @08:43PM (#15835534)
>The language maintainers themselves have clarified that introducing breaking changes was a mistake in hindsight and that it will never happen again.

What are you referring to? I haven't heard or read any core developers say anything close to 'introducing breaking changes was a mistake in hindsight'.

Re:Most popular Python packages now support Python 3 by Cyph0n on Saturday December 02, 2017 @09:21PM (#15835620)
I recall reading something along those lines, but I could be mistaken!
Re:Most popular Python packages now support Python 3 by Macha on Sunday December 03, 2017 @06:34AM (#15837152)
Re:Most popular Python packages now support Python 3 by actuallyalys on Sunday December 03, 2017 @06:45PM (#15840344)
There's a big difference between 'Python 3 was a mistake' and 'we won't make Python 4 like Python 3'. This article is saying the latter (and implicitly argues against the former).
Re:Most popular Python packages now support Python 3 by makk on Sunday December 03, 2017 @03:02AM (#15836557)
100% sure I read that from one of the core devs but cannot find the reference.
Re:Most popular Python packages now support Python 3 by meowface on Sunday December 03, 2017 @02:18AM (#15836447)
I think the reasonable middleground for most Python devs right now: if a medium or large project already written in Python 2 is working well, you can keep it as is, but new projects should be written in Python 3. That unfortunately isn't an option for many people in corporate and other bureaucratic environments, but when it is an option there's no reason not to do so.
Re:Most popular Python packages now support Python 3 by neokya on Saturday December 02, 2017 @03:21PM (#15833841)
In last few years, Python 3 has got momentum. Frankly, for me it feels great to follow this progress.