commit | dc7c128d74876bf0bcef61e34bd858a675b7a43c | [log] [tgz] |
---|---|---|
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | Tue Mar 24 13:21:53 2009 +0000 |
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | Tue Mar 24 13:21:53 2009 +0000 |
tree | 7a7e8be141f0b5557a5abc1dccd648abd1f4d4d8 | |
parent | 7c43524d3cf2d141ab0bce0c1dd21bc410586cb4 [diff] |
http://bugs.python.org/issue5544 Someone may have closed the file descriptor, with something like f = open('test.test', 'w') os.close(f.fileno()) f.close() Protect against this by checking fd on windows before closing.