From f6856cef8e674ac26b1574b70f65360867089e00 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Tue, 20 Jun 2006 11:52:16 +0000 Subject: [PATCH] Uncomment wsgiref section --- Doc/whatsnew/whatsnew25.tex | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex index 7a9ea2f111a..d5f00569ff0 100644 --- a/Doc/whatsnew/whatsnew25.tex +++ b/Doc/whatsnew/whatsnew25.tex @@ -2074,10 +2074,9 @@ Marc-Andr\'e Lemburg.} %====================================================================== -%\subsection{The wsgiref package\label{module-wsgiref}} +\subsection{The wsgiref package\label{module-wsgiref}} % XXX should this be in a PEP 333 section instead? -\begin{comment} The Web Server Gateway Interface (WSGI) v1.0 defines a standard interface between web servers and Python web applications and is @@ -2086,10 +2085,7 @@ implementation of the WSGI specification. The package includes a basic HTTP server that will run a WSGI application; this server is useful for debugging but isn't intended for -production use. - -% XXX structure of WSGI applications? -% XXX provide an example using Django or some other framework? +production use. Setting up a server takes only a few lines of code: \begin{verbatim} from wsgiref import simple_server @@ -2102,17 +2098,19 @@ httpd = make_server(host, port, wsgi_app) httpd.serve_forever() \end{verbatim} +% XXX discuss structure of WSGI applications? +% XXX provide an example using Django or some other framework? \begin{seealso} +\seeurl{http://www.wsgi.org}{A central web site for WSGI-related resources.} + \seepep{333}{Python Web Server Gateway Interface v1.0}{PEP written by Phillip J. Eby.} \end{seealso} -\end{comment} - % ====================================================================== \section{Build and C API Changes\label{build-api}}