Mailinglist Archive: opensuse-buildservice (170 mails)

< Previous Next >
Re: [opensuse-buildservice] [PATCH0/0] raw_input checks if stdin is tty
On Fri, Nov 02, 2012 at 10:10:15AM +0100, Michal Vyskocil wrote:
On Wed, Oct 31, 2012 at 11:21:41AM +0100, Michal Vyskocil wrote:
Hi community,


I has been asked by mvancura to not change the behavior, as they handle
the stdin from their scripts.

This has to be revorked somehow ...

BTW: what is a bit strange to me is the fact, Python's raw_input already
tests it

if (PyFile_AsFile(fin) && PyFile_AsFile(fout)
&& isatty(fileno(PyFile_AsFile(fin)))
&& isatty(fileno(PyFile_AsFile(fout)))) {

Michal Vyskocil
< Previous Next >