[issue24294] DeprecationWarnings should be visible by default in the interactive REPL

Jim Jewett report at bugs.python.org
Thu Aug 20 20:06:55 CEST 2015


Jim Jewett added the comment:

On windows, when python is started from the command line without a GUI, os.isatty(sys.stdin) raises an error, but os.isatty(sys.stdin.fileno()) returns true.  

Within IDLE, os.isatty(sys.stdin.fileno()) also raises an error, but os.isatty(0), os.isatty(1), and os.isatty(2) all return true.

I'm not sure exactly when you want which warning to show, let alone whether the above tests are relevant, but I'm happy to run some tests if you can tell me what you're looking for.

----------

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


More information about the Python-bugs-list mailing list