Comments on: Python 3 is fine /rants/python-3-is-fine/ sealed abstract class drew {} Sun, 27 Mar 2016 22:51:38 +0000 hourly 1 https://wordpress.org/?v=4.4.15 By: Fran /rants/python-3-is-fine/comment-page-1/#comment-25868 Thu, 29 May 2014 21:15:55 +0000 /?p=2329#comment-25868 I started writing python because that was the server language of choice at a prior job. The CTO had strong opinions about using 2.x so that’s what I learned. Since then I’ve moved on from that job, and although I don’t have any bias against python 3, I just keep finding 2 installed on all the machines I encounter, so I just use that. So the employer motivation to switch isn’t there, and getting ops guys to install new packages in their finely tuned systems is not trivial, so it is easy to just stay where I am unless and until I need to move.

As part of personal development I’d love to try using python 3, but I have no idea where to start, and showing a massive document like the one you embedded is no inspiration (and I assume that wasn’t your goal, either). I’ve encountered someone with a strong python 2 bias, and I have paid no attention to whatever struggle is going on, but I’d hoped for some positive notions about why I should switch and thus deal with whatever hassles that such a change requires. I’ve done a bit of browsing over the years on the topic, but most of the writing seems to be focused on the conflict and not on moving people like me to switch, so it would be nice to find some links to good articles or books on switching to 3.

]]>
By: Terry Jan Reedy /rants/python-3-is-fine/comment-page-1/#comment-24435 Thu, 29 May 2014 01:46:23 +0000 /?p=2329#comment-24435 I am one of the volunteer core developers, working mostly but not exclusively on Idle. Thank you for the best post I have seen on Python 3 by a non-developer. It made my day ;-).

]]>
By: Michael Tsai - Blog - Python 3 and Unicode /rants/python-3-is-fine/comment-page-1/#comment-23861 Wed, 28 May 2014 17:54:45 +0000 /?p=2329#comment-23861 […] Drew Crawford links to two great posts about Python 3. Armin Ronacher: […]

]]>
By: Guido Van Asshole /rants/python-3-is-fine/comment-page-1/#comment-23287 Wed, 28 May 2014 10:01:15 +0000 /?p=2329#comment-23287 Stackless has 2.8, they just don’t call it that for political reasons.

]]>
By: Joal /rants/python-3-is-fine/comment-page-1/#comment-23191 Wed, 28 May 2014 08:25:22 +0000 /?p=2329#comment-23191 Absolutely correct. The developers are volunteers and can move the project in whichever way they deem fit.

This is a fundamental risk of the use of free (as in beer) software. Simply put, if you have specific requirements on some piece of software, particularly if it is mission-critical software, then you need to pay someone to fulfil them, rather than vaguely hope that the whims and dreams of volunteer developers will happen to align with yours.

]]>
By: erik /rants/python-3-is-fine/comment-page-1/#comment-22684 Wed, 28 May 2014 00:04:26 +0000 /?p=2329#comment-22684 This is the best commentary on the issue that I’ve seen and I’m glad you took the time to write. I also felt well I represented here because I love coding in Python3 and every time Python2 users complain, I just think to myself, “well, okay, I’ll just keep happily coding in Python3 anyway.”

]]>
By: JoeSteel /rants/python-3-is-fine/comment-page-1/#comment-22554 Tue, 27 May 2014 22:13:59 +0000 /?p=2329#comment-22554 I very much agree with your points about Python being a volunteer-driven effort, and that it is not the responsibility of any of the volunteers to conform to external pressures to support Python 2 going forward for commercial vendors.

However, in your point about Python 3 needing better PR, I think you’re ignoring the commercial vendors that integrate Python. There is no better PR than Python 3 being the interpreter integrated in to software packages instead of Python 2. Commercial graphics software, like Maya, Nuke, Katana, etc. all embed a python 2.7 interpreter. They write API’s against it for scripting software to control features, and handle repetitive tasks. Similar things happen with Lua, and TCL, too. My intro to Python was through these packages. This produces a lot of people interested in working in Python for other tasks. That it becomes more integrated with other tools, and is used in other parts of the pipeline at a facility. It has a top-down effect that spreads from the interpreter being used in the commercial software package. These are not the users that are the most familiar to the python community at large because most things are web centric. I can only assume that other commercial applications of Python have a similar, lingering quality with Python 2.

Right now, I know enough to run twisted virtual servers for my personal site, write my own static blogging platform, do really tiny, dumb things –but I do them all with Python 2 because that is what’s most familiar to me and what I will encounter in a work environment.

If the day comes when Maya, Nuke, Katana, etc. start making decisions about picking another scripting language, then will they pick Python 3? I’m not sure. I’d logically stick with what I was using at work.

I follow Armin’s blog and twitter account closely, and I don’t find it encouraging. I don’t see the friendly PR outreach to people having problems. I do see very cross essays being written about people adopting that I can not relate to. The 192-page jeopardy component is amusing, I’ll grant that for sure, but it does very little to actually advocate why commercial vendors should switch, nor does it provide much incentive for the users of those commercial platforms to pressure the vendors in to switching versions.

It is an unpleasant task that no one really wants to volunteer for — I certainly would not want to even if I was competent enough. That’s the problem though, Python 3 makes me feel like even more of an outsider than Python 2. I don’t doubt the huge improvements that have been made, but I lack the ability to articulate any of them over Python 2 if someone were to ask me.

Perhaps it is precisely because this is a programming language by the volunteers, for the volunteers, that I’ll never be able to fully grasp all the of “why” of it. I do laud every one of them for their tireless work, and for the commitment to extend security patches for 2.7.x. I just lament that outreach mostly exists in trading blog post rebottles, or really dense documentation. Like Mulder’s office poster: I want to believe.

]]>
By: Matt Campbell /rants/python-3-is-fine/comment-page-1/#comment-22441 Tue, 27 May 2014 20:57:24 +0000 /?p=2329#comment-22441 Well said. I’m still on Python 2, but I’ve never been inclined to complain about Python 3.

Just curious, what kinds of projects do you do with Python 3? Server-side web apps? Desktop GUI apps (if so, with what toolkit)? Something else?

]]>
By: Aaron Meurer /rants/python-3-is-fine/comment-page-1/#comment-22088 Tue, 27 May 2014 16:18:33 +0000 /?p=2329#comment-22088 It’s great to hear a voice of reason amongst the recent idiocy.

I compiled a list of the 10 best features of Python 3 at http://asmeurer.github.io/python3-presentation/slides.html#1. These are specifically features that are not backwards compatible; it is impossible to write Python 2 compliant code that uses them. The problem isn’t that there are no carrots in Python 3. The problem is that no one knows what they are, because no one uses Python 3.

Regarding using both, I recommend just using Anaconda. The conda package manager makes switching between versions of Python super easy (full disclosure, I work for Continuum on the conda package manager).

Regarding the forking of Python 2, you are right on. I suspect no one has actually forked Python 2 because anyone who knows enough about CPython to do the fork would know enough to know how much better Python 3 is than Python 2, and would never ever want to see Python 2 again. There’s a reason the core Python devs despise Python 2.

]]>
By: ix /rants/python-3-is-fine/comment-page-1/#comment-21645 Tue, 27 May 2014 09:34:30 +0000 /?p=2329#comment-21645 I do remember having python2 installed (including libraries) and trying to run python3 stuff next to it, you sometimes run into the strangest of issues and it can be quite frustrating before you figure out how exactly the python3 library picked up on the python2 version of one of its dependencies or vice versa (I’ve forgotten how exactly, but it was extremely annoying when I had to grapple with it once). That’s more likely to happen if you’re on a RHEL derivative, since they all come with ancient python versions. At least the new CentOS will have 2.7, yay.

]]>