Message751

Author nobody
Recipients
Date 2002-10-10.08:04:39
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Exception AttributeError: 'int' object has no 
attribute 'close' in <method _udpsocket.__del__ of 
_udpsocket instance at 4570013> ignored

I fixed it like that in socket.py

class _udpsocket:
    def close(self):
        '''
        sock = self.sock
        self.sock = 0
        sock.close()
        '''
        if self.sock:
            self.sock.close()
            self.sock = None
History
Date User Action Args
2008-02-20 17:17:10adminlinkissue621180 messages
2008-02-20 17:17:10admincreate