New submission from Antoine Pitrou <[EMAIL PROTECTED]>: I'm a bit puzzled that both str and bytes are accepted by os.write() in py3k:
>>> os.write(1, "foo\n") foo 4 >>> os.write(1, b"foo\n") foo 4 ---------- components: Interpreter Core messages: 72537 nosy: pitrou priority: high severity: normal status: open title: os.write accepts unicode strings type: behavior versions: Python 3.0 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3782> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com