[issue17797] Visual C++ 11.0 reports fileno(stdin) == 0 for non-console program

Tomasz Wasilczyk report at bugs.python.org
Thu Jan 29 23:06:48 CET 2015


Tomasz Wasilczyk added the comment:

In such case, I agree it's an "enhancement", not a "bugfix". Could go into 3.5 branch.

How about changing the ifdef to the following, to avoid any issues on non-MSVS2012:

#if defined(MS_WINDOWS) && defined(HAVE_FSTAT) && defined(_MSC_VER) && _MSC_VER == 1700

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17797>
_______________________________________


More information about the Python-bugs-list mailing list