Altering sys.stdin

drekin at gmail.com drekin at gmail.com
Sat Feb 23 09:18:12 EST 2013


> If you're going to replace something, the replacement needs to at least
quack like the original...

That's for the freezing, even though an exception would be better. But still, even when custon TextIO object is provided, interactive console doesn't read from it (however input() does).




More information about the Python-list mailing list