[Web-SIG] Draft PEP: WSGI 1.1

Manlio Perillo manlio_perillo at libero.it
Thu Apr 15 16:46:10 CEST 2010


Dirkjan Ochtman ha scritto:
> Mostly taking Graham's list of issues and incorporating it into PEP 333.
> 
> Latest revision: http://hg.xavamedia.nl/peps/file/tip/wsgi-1.1.txt
> 
> Let's have comments here (comments in the form of diffs are
> particularly welcome, of course). Remember, the idea is not to change
> or improve WSGI right now, but only to improve the spec, improving
> interoperability and enabling Python 3 support.
> 

> [...]

Another comment.
The run_with_cgi sample function should be changed, since it probably
does not work correctly, on Python 3.x.

I'm not sure, since sys.stdout.write accepts a native string, however
how it is encoded is platform specific (with current text of WSGI 1.1,
however, it seems this is allowed).


I would like to do some tests with CGI, Python 3.2, IIS and Windows.


Regards  Manlio


More information about the Web-SIG mailing list