summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2006-06-20 11:52:16 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2006-06-20 11:52:16 (GMT)
commitf6856cef8e674ac26b1574b70f65360867089e00 (patch)
tree877b642bd16f4476269dcade165b92ce8867f236 /Doc/whatsnew
parentf505e7fb30a8d3da0ee3fda2d0c1367bbcca957c (diff)
downloadcpython-f6856cef8e674ac26b1574b70f65360867089e00.zip
cpython-f6856cef8e674ac26b1574b70f65360867089e00.tar.gz
cpython-f6856cef8e674ac26b1574b70f65360867089e00.tar.bz2
Uncomment wsgiref section
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/whatsnew25.tex14
1 files changed, 6 insertions, 8 deletions
diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex
index 7a9ea2f..d5f0056 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}}