commit | 65f8cedd4a9820e5d069ece0194b7da0b1e4e33c | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu May 29 14:36:57 2003 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu May 29 14:36:57 2003 +0000 |
tree | 007ee4a343cb28ccfe79f026a0821a13c77ca55e | |
parent | bb1861a996f659621a3d9de875027679ce1926eb [diff] |
I saw errors from _fileobject.__del__ about missing self._sock. This can happen if __init__ doesn't complete. Fix it by adding a try/except to __del__.