Fredrik> [EMAIL PROTECTED] wrote:
>> I think the right thing is for InteractiveConsole to dup
>> sys.std{in,out,err} and do its own thing for its raw_input() method
>> instead of naively calling the raw_input() builtin.
Fredrik> what guarantees that sys.stdin etc has a valid and dup:able
Fredrik> fileno when the console is instantiated ?
Nothing, I suppose. I'm just concerned that the InteractiveConsole instance
keep working after its interact() method is called.
Skip
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com