News for hackers. Stuff that matters.
Re:Why Python 4.0 won’t be like Python 3.0 by arenaninja on Wednesday September 17, 2014 @01:08PM (#8331068)
Honestly, I feel bad for Python. It's a great all-purpose language, concise and powerful, if a little slow. I started tinkering with Flask over the weekend, and I wanted to do it in Python 3, but even the Flask site warns you that most Flask plugins are written only for Python 2. I last used Python at Hacker School, and also used Python 3. In the two years since, it doesn't feel like Py3k adoption has progressed at all. In the meantime, you'd be hard-pressed to find someone running PHP 4, and the PHP community has moved entirely away from it.
Re:Why Python 4.0 won’t be like Python 3.0 by davidism on Wednesday September 17, 2014 @01:14PM (#8331088)
That warning is old. Most popular Flask extensions work well with Python 3 now. I've recently written a large Flask application targeted at Python 3 with no issues. If you have problems with Python 3 compatibility, report the issue, the maintainers are good about fixing these things.
Re:Why Python 4.0 won’t be like Python 3.0 by scardine on Wednesday September 17, 2014 @01:36PM (#8331225)
Well, take the warning with a pinch of salt. Armin Ronacher (Flasks father) made HN first page a few times with rants about Python 3.

Not that he has no reason for whining, he is just a bit overdramatic regarding some Python 3 issues - but since English is not my first language this impression may be the language barrier kicking in.

Re:Why Python 4.0 won’t be like Python 3.0 by nether on Wednesday September 17, 2014 @01:37PM (#8331237)
No, he sounds melodramatic to me too. I just wonder why if these issues with Python 3 are so egregious, why haven't other framework developers chimed in with support?
Re:Why Python 4.0 won’t be like Python 3.0 by scardine on Thursday September 18, 2014 @09:02AM (#8334935)
I guess Ronacher is truly, deeply passionate about Python while the core developers are more on the practical side.

This is one of the reasons why I like his code, I find all his projects inspiring.

Re:Why Python 4.0 won’t be like Python 3.0 by nether on Wednesday September 17, 2014 @01:31PM (#8331191)
Armin hates Python 3 and considers it a step backward. Ref this discussion: http://www.reddit.com/r/Python/comments/1ugg24/armin_ronache... /u/mitsuhiko is Armin. I'm not experienced enough with Python to pick a side, but for basic numerical analysis interfacing with Excel spreadsheets, Python 3 has worked fine. You don't seem to hear other prominent Python developers expressing these things (say, from Django) so he's unusually picky about Python handling of text/bytes.
Re:Why Python 4.0 won’t be like Python 3.0 by mercnet on Wednesday September 17, 2014 @01:20PM (#8331122)
I been using a couple Flask plugins and have yet to encounter one that doesn't support Python 3. If I do encounter one, I will most likely end up writing my own to fit my needs using their code as a guide.
Re:Why Python 4.0 won’t be like Python 3.0 by arenaninja on Wednesday September 17, 2014 @01:24PM (#8331147)
Well, that's great! However, consider the fact that the message is still on the current docs (http://flask.pocoo.org/docs/0.10/advanced_foreword/#the-stat...), and that over the weekend, I decided to use python 2 instead of 3 because of this warning. I imagine that other Flask newcomers would be equally likely to shy away from Py3k if they saw this warning
Re:Why Python 4.0 won’t be like Python 3.0 by orf on Wednesday September 17, 2014 @01:26PM (#8331160)
Yeah, I think the warnings are old. I'm working on a pretty large Pyramid application with 30+ dependencies, all of which supported Py3 out of the box.
Re:Why Python 4.0 won’t be like Python 3.0 by baq on Wednesday September 17, 2014 @01:33PM (#8331201)
I'm happily coding Flask apps in Python 3.4 and haven't looked back.
Re:Why Python 4.0 won’t be like Python 3.0 by alexanderss on Wednesday September 17, 2014 @01:29PM (#8331180)
Just curious, you're a PHP developer?
Re:Why Python 4.0 won’t be like Python 3.0 by arenaninja on Wednesday September 17, 2014 @01:37PM (#8331236)
Well I get paid to write mostly PHP, so I suppose I am. Personally, languages are tools, and it's rarely a disservice to learn more than one.