[issue14433] Python 3 interpreter crash with memoryview and os.fdopen

Alexis Daboville report at bugs.python.org
Thu Mar 29 11:10:20 CEST 2012


Alexis Daboville <alexis.daboville at 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 <report at bugs.python.org>
<http://bugs.python.org/issue14433>
_______________________________________


More information about the Python-bugs-list mailing list