[issue6212] piped input

2009-06-05 Thread Georg Brandl

Georg Brandl  added the comment:

This is a bug in Windows Python can do nothing about, see
http://support.microsoft.com/kb/321788.

--
nosy: +georg.brandl
resolution:  -> wont fix
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6212] piped input

2009-06-05 Thread Robert T McQuaid

New submission from Robert T McQuaid :

#
#  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 test17.py
#  dir | test17.py
#
#

import sys
if sys.stdin.isatty(): pass

--
components: IO
messages: 88970
nosy: rtmq
severity: normal
status: open
title: piped input
type: behavior
versions: Python 3.0

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com