[issue25202] with-statement doesn't release file handle after exception

2015-09-21 Thread Lauri Kajan
New submission from Lauri Kajan: Hi all, I found out that handle to a file opened with with-statement is not released in all cases. I'm trying to delete a file when space on a disk is filled (0 bit left) by writing this file. I catch the IOError 28 to figure this out. I write the file w

[issue25202] Windows: with-statement doesn't release file handle after exception on "No space left on device" error

2015-09-21 Thread Lauri Kajan
Changes by Lauri Kajan : -- versions: +Python 3.2 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue25202> ___ ___ Python-bugs-list mailing list Unsub

[issue25202] Windows: with-statement doesn't release file handle after exception on "No space left on device" error

2015-09-21 Thread Lauri Kajan
Lauri Kajan added the comment: Thanks for these. I'll see what I could do to upgrade our python version. Sorry for not finding the old issue. Didn't find the right search terms. -- ___ Python tracker <http://bugs.python.o