[docs] [issue18553] os.isatty() is not Unix only

Antoine Pitrou report at bugs.python.org
Sun Sep 1 19:48:36 CEST 2013

Antoine Pitrou added the comment:

> Are there tests for this?

Not sure what you mean: there are several tests using isatty() in test suite.

Regardless, there is no #ifdef around the isatty() definition in posixmodule.c, so I can only assume it exists on all platforms.

nosy: +pitrou

Python tracker <report at bugs.python.org>

More information about the docs mailing list