Steve Dower <steve.do...@python.org> added the comment:

We could also provide a better check in WindowsConsoleIO.isatty, since that 
should have already handled most of the previous checks (I wouldn't want to do 
a typecheck in getpass, though). But yeah, this seems like "sys.stdin and 
sys.stdin.isatty()" is the right condition.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44762>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to