R. David Murray added the comment:

Does it not work to create an unbuffered makefile object from the socket and 
assign that to stdout?  Regardless, if you need to set it and restore it around 
runcode you can use super() to call the base class method.

I think providing an easier API to change stdin/stdout/stderr is a reasonable 
RFE, though.

----------
nosy: +r.david.murray
type: behavior -> enhancement
versions: +Python 3.6

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

Reply via email to