4 ms·
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
by arenaninja 12y ago
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.
- davidism 12y agoThat 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.
- mercnet 12y agoI 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.
- arenaninja 12y agoWell, 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-status-of-python-3 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
- orf 12y agoYeah, 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.
- alexanderss 12y agoJust curious, you're a PHP developer?
- arenaninja 12y agoWell 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.
- nether 12y agoArmin hates Python 3 and considers it a step backward. Ref this discussion: http://www.reddit.com/r/Python/comments/1ugg24/armin_ronacher_on_why_python_2_is_the_better/ 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.
- baq 12y agoI'm happily coding Flask apps in Python 3.4 and haven't looked back.
- scardine 12y agoWell, 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.
- nether 12y agoNo, 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?
- scardine 12y agoI 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.