Python 3 lack of support for fcgi/wsgi.

John Nagle nagle at animats.com
Sun Mar 29 14:57:54 EDT 2015


The Python 2 module "fcgi" is gone in Python 3.

The Python 3 documentation at

https://docs.python.org/3/howto/webservers.html

recommends "flup" and links here:

https://pypi.python.org/pypi/flup/1.0

That hasn't been updated since 2007, and the SVN repository linked there
is gone.  The recommended version is abandoned. pip3
tries to install version 1.0.2, from 2009.  That's here:
https://pypi.python.org/pypi/flup/1.0.2 That version is supported
only for Python 2.5 and 2.6.

There's a later version on Github:

https://github.com/Pyha/flup-py3.3

But that's not what "pip3" is installing.

I get the feeling, again, that nobody actually uses this stuff.

"pip3" seems perfectly happy to install modules that don't work with
Python 3.  Try "pip3 install dnspython", for example.  You need
"dnspython3", but pip3 doesn't know that.

There's "wsgiref", which looks more promising, but has a different
interface.  That's not what the Python documentation recommends as
the first choice, but it's a standard module.

I keep thinking I'm almost done with Python 3 hell, but then I
get screwed by Python 3 again.

			John Nagle




More information about the Python-list mailing list