[Web-SIG] wsgi.errors and close method

Dirkjan Ochtman dirkjan at ochtman.nl
Tue Mar 30 11:39:41 CEST 2010


On Tue, Mar 30, 2010 at 11:28, Manlio Perillo <manlio_perillo at libero.it> wrote:
> Note however, that Mercurial has fixed the problem:

So, as the guy who inherited Mercurial's hgweb WSGI application (or
rather, made it much more WSGI-compliant), I should say that, yes, I
tried pretty hard to get all our code so that it wouldn't touch
sys.std{in,out,err}. Unfortunately, since much of our code is built
primarily on the assumption that it runs on the command-line, it turns
out to be quite hard to get everything clean.

Cheers,

Dirkjan


More information about the Web-SIG mailing list