[Web-SIG] [WSGI] mod_python wrapper: minimal first attempt

Phillip J. Eby pje at telecommunity.com
Thu Oct 14 01:09:21 CEST 2004

At 07:01 PM 10/13/04 -0400, Phillip J. Eby wrote:
>         exec ("from %(appmod)s import %(appname) as application" % 
> locals()) in d
>         handler.run(d[application])

Oops, typos.  There should be an 's' after '%(appname)', and that should be 
"d['application']".  Those are probably not the only mistakes I made in 
that code, but they're the first I've seen so far.  :)

I'm almost tempted to go build mod_python so I can see what the rest of the 
errors are.  :)

More information about the Web-SIG mailing list