Title: piped input
Type: behavior Stage:
Components: IO Versions: Python 3.0
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, rtmq
Priority: normal Keywords:

Created on 2009-06-05 19:59 by rtmq, last changed 2009-06-05 21:43 by georg.brandl. This issue is now closed.

Messages (2)
msg88970 - (view) Author: Robert T McQuaid (rtmq) Date: 2009-06-05 19:59
#  Python 3.0.1 can read piped input when invoked with a
#  program name as the argument of the interpreter, but not
#  when invoked implicitly by the file extension.  On
#  Windows xp the first command below runs successfully, the
#  second ends with a diagnostic:  'NoneType' object has no
#  attribute 'isatty'
#  dir | e:\python30\python
#  dir |

import sys
if sys.stdin.isatty(): pass
msg88975 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-06-05 21:43
This is a bug in Windows Python can do nothing about, see
Date User Action Args
2009-06-05 21:43:23georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg88975

resolution: wont fix
2009-06-05 19:59:22rtmqcreate