Serhiy Storchaka <storch...@gmail.com> added the comment:

> 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15318>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to