Alexis Daboville <alexis.dabovi...@gmail.com> added the comment:

> And <ctl>D isn't how you shut down the interpreter on Windows, is it?

No <ctrl>Z + <enter> is the equivalent (<ctrl>D does nothing under Windows, 
except "printing" ^D).

And in a cmd window it just print another prompt (that's strange that it 
doesn't exit by the way...).

Also, I was thinking about the issue, is it normal to have this crash when we 
close directly the fd 0, whereas if I do sys.stdin.close() (which has 
sys.stdin.fileno() == 0) the Python shell continues to work properly?

----------

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

Reply via email to