News for hackers. Stuff that matters.
Re:Show HN: tttfi – Middleware for IFTTT by twblalock on Monday July 17, 2017 @05:18PM (#14792342)
The majority of the Python programmers I know still use Python 2 for new projects.
Re:Show HN: tttfi – Middleware for IFTTT by mod on Monday July 17, 2017 @05:41PM (#14792502)
Out of curiosity, how recently have you touched on that?

I was one of them until the last couple of months. I think moving to 3 now makes sense, and it's pain-free in my experience.

In 2016 I hadn't made the move yet. And as recently as a couple of months ago, sometimes py2 was still the choice (for instance, Amazon Lambda didn't support 3 yet).

Re:Show HN: tttfi – Middleware for IFTTT by foxylad on Tuesday July 18, 2017 @12:17AM (#14794234)
And Google Appengine is stuck on Python 2.
Re:Show HN: tttfi – Middleware for IFTTT by tuxxy on Monday July 17, 2017 @06:47PM (#14792902)
I don't believe this for a minute.

Sure, lots of Enterprise apps use Python 2 because that was what they could build with.

I'm a Python developer and I don't know anyone who doesn't use Python 3 by default.

I understand this is purely anecdotal, but it seems outlandish to say that Python devs mostly use Python 2.

Re:Show HN: tttfi – Middleware for IFTTT by fermuch on Monday July 17, 2017 @07:34PM (#14793212)
This is still anecdotical, but most python developers I know would chose py2 if given the choice. It's what they know, and they don't want to change semantics even if it's just changing how you write prints.
Re:Show HN: tttfi – Middleware for IFTTT by anilakar on Tuesday July 18, 2017 @03:49AM (#14794941)
Counter-anecdote: Not a single developer I know wants to touch Python 2 after trying to get Django to work reliably with Unicode.

Then again, if your language is completely representable with US-ASCII, you might not have experienced the pain caused by having to unit test pretty much all string operations in your code.

Re:Show HN: tttfi – Middleware for IFTTT by jsnathan on Tuesday July 18, 2017 @04:24AM (#14795078)
I like to trot out this link whenever this comes up [1].

[1]: https://semaphoreci.com/blog/2016/11/11/python-versions-used...

Re:Show HN: tttfi – Middleware for IFTTT by twblalock on Monday July 17, 2017 @11:43PM (#14794141)
> I understand this is purely anecdotal, but it seems outlandish to say that Python devs mostly use Python 2.

Then I guess it's a good thing I didn't say that. I said the majority of the ones I know use it.

Re:Show HN: tttfi – Middleware for IFTTT by serf on Monday July 17, 2017 @07:15PM (#14793091)
the only devs I know that use python2 are ones that stuck having to do so because no one has put the legwork in to port a library over to py3.