Python 3 lack of support for fcgi/wsgi.

Denis McMahon denismfmcmahon at gmail.com
Mon Mar 30 13:21:02 EDT 2015


On Sun, 29 Mar 2015 11:57:54 -0700, John Nagle wrote:

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

Was this part of the python standard library, or was it a third party 
library? I can only find cgi documentation <https://docs.python.org/2/
library/cgi.html> in the python 2 core documentation, not fcgi 
documentation. Documentation for cgi is also present in the python 3 core 
documentation: <https://docs.python.org/3.4/library/cgi.html>

Perhaps the issue is that your python 2 web application was built using 
3rd party implementations of cgi interfaces which have not kept up with 
the development of python 3. The only core module I can find in python 
that appears relevant is the cgi module, and that exists both in python 2 
and python 3.

> The Python 3 documentation at
> 
> https://docs.python.org/3/howto/webservers.html

That appears to be a copy of the Python 2 Howto. It should probably make 
that clearer! It contains the following caveat:

"See also: While this HOWTO tries to give an overview of Python in the 
web, it cannot always be as up to date as desired. Web development in 
Python is rapidly moving forward, so the wiki page on Web Programming 
<https://wiki.python.org/moin/WebProgramming> may be more in sync with 
recent development."

-- 
Denis McMahon, denismfmcmahon at gmail.com



More information about the Python-list mailing list