[Python-Dev] 2.4.4c1 October 11, 2.4.4 final October 18

skip at pobox.com skip at pobox.com
Wed Sep 27 20:06:34 CEST 2006

    Fredrik> skip at pobox.com 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.


More information about the Python-Dev mailing list