Martin Panter <vadmium...@gmail.com> added the comment: This is the same story as in Issue 35762. Both “sys.stdin” and “subprocess.Popen.stderr” (when universal_newlines=True is enabled) use the TextIOWrapper class, which I don’t think was implemented with non-blocking mode in mind.
Issue 24560 is similar, but is about an older class “codecs.StreamReader”. ---------- nosy: +martin.panter superseder: -> subprocess.Popen with universal_newlines and nonblocking streams fails with "can't concat NoneType to bytes" _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36293> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com