I’m pleased to annunce the 0.0.5 release for mod_wsgi.
mod_wsgi is an implementation of the WSGI PEP
(PEP 333 – Python Web Server Gateway Interface v1.0 | peps.python.org) for the Nginx web server.
Here is the changelog:
-
Fixed a severe bug, caused by a wrong size declared for the
StateObject.The value used was the size of the LogObject, and this was not
causing problems only because
sizeof(LogObject) > sizeof(StateObject). -
Replaced sys.stderr with a LogObject instance, so that WSGI
applications can use it for logging. -
Bug fix: sys.argv is not initialized for the main interpreter.
PySys_SetArgv is used for the initialization (it will add the
nginx executable path directory to sys.path). -
Removed the wsgi_python_path directive.
Use the PYTHON_PATH environment variable with the
envdirective,
instead. -
Added support for the
envdirective.WSGI applications will now use only environment variables
explicitly declared with theenvdirective;
in previous revisions they inherited variables from the initial
environment. -
Improved the conformance for SCRIPT_NAME and PATH_INFO variables.
Manlio P.