Amaury Forgeot d'Arc added the comment: Note that the final .encode("cp936") is now invalid: os.system accepts unicode strings, not bytes:
>>> os.system(("echo " + sys.stdin.readline().rstrip("\n"))) Corrected as r59065. ---------- resolution: -> fixed status: open -> closed __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1193> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com