This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients loewis, roger.serwy, serhiy.storchaka, terry.reedy
Date 2012-07-11.09:13:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341997990.94.0.22525015051.issue15318@psf.upfronthosting.co.za>
In-reply-to
Content
sys.std* streams have many other issues.

>>> sys.stdin.readable()
Traceback (most recent call last):
  File "<pyshell#4>", line 1, in <module>
    sys.stdin.readable()
AttributeError: readable
>>> sys.stdout.writable()
Traceback (most recent call last):
  File "<pyshell#5>", line 1, in <module>
    sys.stdout.writable()
AttributeError: writable
>>> sys.stdout.newlines
Traceback (most recent call last):
  File "<pyshell#8>", line 1, in <module>
    sys.stdout.newlines
AttributeError: newlines
>>> sys.stdin.read(1)
Traceback (most recent call last):
  File "<pyshell#3>", line 1, in <module>
    sys.stdin.read(1)
AttributeError: read

And some other.

Here is a patch that fixes almost all IDLE sys.std* issues.
History
Date User Action Args
2012-07-11 09:13:10serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, terry.reedy, roger.serwy
2012-07-11 09:13:10serhiy.storchakasetmessageid: <1341997990.94.0.22525015051.issue15318@psf.upfronthosting.co.za>
2012-07-11 09:13:10serhiy.storchakalinkissue15318 messages
2012-07-11 09:13:10serhiy.storchakacreate