[issue1634] Access to sys.stdin in ui.py causes IOError in a WSGI environment
Benjamin Wohlwend
mercurial-bugs at selenic.com
Sun Apr 26 14:26:55 UTC 2009
New submission from Benjamin Wohlwend <bw at piquadrat.ch>:
mercurial.ui.isatty() accesses sys.stdin, which makes mod_wsgi throw an IOError.
Other WSGI implementations might also have issues with this.
Attached is a patch that catches the IOError.
----------
files: no_stdin_in_wsgi_env.diff
messages: 9201
nosy: piquadrat
priority: bug
status: unread
title: Access to sys.stdin in ui.py causes IOError in a WSGI environment
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1634>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_stdin_in_wsgi_env.diff
Type: text/x-diff
Size: 503 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20090426/220f2e99/attachment-0002.diff>
More information about the Mercurial-devel
mailing list