[Web-SIG] [Python-Dev] Adding wsgiref to stdlib

Phillip J. Eby pje at telecommunity.com
Tue May 2 17:32:15 CEST 2006


At 02:48 PM 5/2/2006 +0100, Paul Moore wrote:
>On 4/28/06, Phillip J. Eby <pje at telecommunity.com> wrote:
>>At 11:03 AM 4/28/2006 -0700, Guido van Rossum wrote:
>> >(I'm asking Phillip to post the URL for the current
>> >source; searching for it produces multiple repositories.)
>>
>>Source browsing: http://svn.eby-sarna.com/wsgiref/
>>Anonymous SVN:   svn://svn.eby-sarna.com/svnroot/wsgiref
>
>I'm not sure how dumb a question this is, but bear with me :-)
>
> From reading this, it seems that there is no CGI-to-WSGI gateway in
>wsgiref.

There is, sort of:

     from wsgiref.handlers import CGIHandler
     CGIHandler().run(app)

What the TODO is referring to is some kind of wrapper script that can be 
used to launch a deployed application.  It's pending there being some kind 
of deployment standard for WSGI.



More information about the Web-SIG mailing list