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-12.09:13:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342084453.14309.35.camel@raxxla>
In-reply-to <[email protected]>
Content
> sys.stdin.write returns the wrong error message when passed a non-string. Presently it returns io.UnsupportedOperation instead of TypeError: must be str, not ...

It's not a bug. sys.stdin.write raises io.UnsupportedOperation in
standard interpreter.
History
Date User Action Args
2012-07-12 09:13:45serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, terry.reedy, roger.serwy
2012-07-12 09:13:45serhiy.storchakalinkissue15318 messages
2012-07-12 09:13:45serhiy.storchakacreate