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__.
1 file changed