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

Tomasz Wasilczyk report at bugs.python.org
Thu Jan 29 20:18:52 CET 2015


Tomasz Wasilczyk added the comment:

I don't mean fixing VS, but providing a workaround in Python code, when compiled with VS2012.

I know newer VS versions are fixed. Do you mean, VS2012 is not supported? If it's not - then LibreOffice team have a problem, because their official release is built with this suite.

If it is supported, and you don't want to alter behavior for other versions, then a patch may also contain an ifdef for MSVC 11.0.

----------

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


More information about the Python-bugs-list mailing list