Cleanup __del__.
You never need an __del__ to close a file. A file closes itself when it is deallocated. Don't give an object a magic __del__ attribute. It won't work with new-style classes, and it's obscure anyway.
Showing
Please register or sign in to comment