开发者

Which web frameworks support Python3 (PEP3333 - WSGI 1.0.1 compliance) [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

I had recently started learning Python, and with all the research I decided it was good to start with Python3 (that's wh开发者_StackOverflow社区at even Guido advised at Google IO'11). But lack of support for Python3 by major (web)frameworks has really bugged me. I know this same question has been asked all over the Internet and even on StackOverflow, but since we now have a finalized PEP3333 (WSGI 1.0.1), which are the frameworks supporting/going-to-support Py3. The only one I could find was CherryPy3.2.0 which, as the project page says, is PEP 3333 compliant. I specially would like to know about Django/Turbogears/Pylons/Flask (Any roadmaps would be really informative).


There was earlier little incentive for web frameworks to move to Python 3, as there was no usable WSGI standard for Python 3. Now we have PEP 3333, but it is still very new, so few frameworks had yet had time to port to Python 3.

Besides CherryPy there is only two other Python 3 web frameworks I'm aware of, and that is QP, which seems very different from other frameworks and to my knowledge doesn't use WSGI at all, and Bottle, which claims to support PEP 3333 (although you have to dig a bit in the docs to find it).

Django has no official roadmap for Python 3 AFAIK (except an old one that is outdated by now), but there has been promises to work on it during the summer.

Pyramid is waiting for the component architecture to get ported, and I that's mostly been done by me so far, and I don't have time at the moment. :-) I don't know if there is a roadmap for Pyramid, but there is one for the component architecture. There is no timeline, though, as it depends wholly on the time of volunteers.

In general, although Guido is sensible in recommending Python 3, that doesn't really work for web programming today.


[EDIT] Official Django Project roadmap regarding Python 3 here

the current Django trunk (r17165) (link here) clears Py3 tests (Google Group dicsussion)! Django on Py3, finally!!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜