On 2010-12-30 23:47:17 -0800, Aman said:
Hey all... I just started with Python, and I chose Python3 because it
seemed a subtle choice as compared to doing Pthon 2.x now and then
porting to Python3.x later... I plan to start with Web Development
soon... I wanted to know what all web frameworks are available for
Python3... I heard the Django is still not compatible with 3.x... Any
idea guys?
Python 3 has a number of issues with web development thus far: WSGI[1]
(PEP 333) isn't directly compatible with Python 3, for one.
However, PEP 3333 is looking good[2] for making web framework code
compatible with Python 3 without needing too much modification. I'm
not sure what the state of affairs is for PEP 3333 or Python 3
compatible frameworks, however. (CherryPy -might- be compatible, I can
not recall.)
Basically this means that using Python 3, you'll be "roughing it" for a while.
On the other hand, I'm working on PEP 444[3] (WSGI 2) and have a highly
performant web server compatible with Python 3 available[4] that is
compatible with PEP 444 as published on Python.org[5] (master branch)
and with my rewritten draft (draft branch, to be merged when my rewrite
is complete and published on Python.org). Another developer and I have
been working on the WebOb-style helper exceptions and wrappers, from
which a microframework can quickly spawn.
The HTTP server has 100% coverage (master) and near-100% coverage
(draft) and compatibility with Python 2.6+ and 3.1+.
Have a great day,
- Alice.
[1] http://www.python.org/dev/peps/pep-0333/
[2] http://www.python.org/dev/peps/pep-3333/
[3] http://bit.ly/e7rtI6
[4] http://bit.ly/fLfamO
[5] http://bit.ly/gmT17O
--
http://mail.python.org/mailman/listinfo/python-list