Author rtmq
Recipients rtmq
Date 2009-06-05.19:59:22
SpamBayes Score 0.00162482
Marked as misclassified No
Message-id <1244231963.89.0.682497283333.issue6212@psf.upfronthosting.co.za>
In-reply-to
Content
#
#  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
History
Date User Action Args
2009-06-05 19:59:23rtmqsetrecipients: + rtmq
2009-06-05 19:59:23rtmqsetmessageid: <1244231963.89.0.682497283333.issue6212@psf.upfronthosting.co.za>
2009-06-05 19:59:22rtmqlinkissue6212 messages
2009-06-05 19:59:22rtmqcreate