views:

423

answers:

3

Django is incompatible with Python 3:

For larger Python-based software like Django, the transition is expected to take at least a year or two (since it involves dropping support for older Python releases and so must be done gradually).

Which other web framework is recommended for Python 3.1?

Thanks

+5  A: 

It is too soon for end developers to transition to 3.x. Continue using 2.x for the time being.

Ignacio Vazquez-Abrams
+6  A: 

There's really nothing at the moment; currently the WSGI specification for Python 3 is still being debated, and there are not many db-api modules which work on Python 3. So basically all you have is the sqlite3 builtin DB-API, I don't believe any of the postgres or mysql wrappers have been ported yet.

the SQLAlchemy DB framework is purported to work on Python3 (with sqlite3), but no major webapp frameworks or templating engines yet (most are waiting for WSGI and the db-apis); this is really a bleeding edge space.

Crast
"MySQL Connector/Python" (https://launchpad.net/myconnpy) has support for Python 3.1. This driver isn't supported by Django, though, and SQLAlchemy support is not quite there yet, too (see http://groups.google.com/group/sqlalchemy/browse_thread/thread/6e93dcae723759ed)
piquadrat
A: 

Please help me understand what is wrong with pg8000. I know this thread is old, but I'm just starting a project and it appears to me that pg8000 is working pretty well with py3k after installing it. If, however I'm wrong I'd really appreciate knowing before I waste time that others know already will be wasted. --a2j

a2j