New submission from Thomas Krijnen:
Following code crashes my Python 2.7.9 interpreter on Windows:
import os, tempfile
a, b = tempfile.mkstemp()
f = os.fdopen(a, "wb")
f = os.fdopen(a, "wb")
f.write("beer")
f.close()
--
components: Windows
message
Thomas Krijnen added the comment:
Thanks for the feedback. I realize the example code is rather bad, I was just
surprised to see the interpreter actually crash. Good to know in py3 things are
more robust. Closed.
--
resolution: -> not a bug
status: open ->