[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 within

[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 <rep...@bugs.python.org> <http://bugs.p

[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 <lauri.ka...@gmail.com>: -- versions: +Python 3.2 -Python 3.4 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python