John-John Tedro added the comment:
Originally discovered on
http://stackoverflow.com/questions/13649330/what-happens-to-file-descriptors-in-python-3-when-close-fails
--
___
Python tracker
<http://bugs.python.org/issue16
Changes by John-John Tedro :
--
title: close not being called with context manager on IOError when device is
full. -> file descriptor not being closed with context manager on IOError when
device is full
___
Python tracker
<http://bugs.pyth
New submission from John-John Tedro:
In 3.2.2 and 3.2.3 on linux64, when running the following code.
try:
print("Writing to /dev/full")
with open("/dev/full", "w") as f:
f.write("Write to full device")
except: