def getHandleErrorCode(self):
# Windows 2000 SP 4 and Windows XP SP 2 give back WSAENOTSOCK for
# SSL.Connection.write for some reason.
if platform.getType() == 'win32':
return errno.WSAENOTSOCK
return ProperlyCloseFilesMixin.getHandleErrorCode(self)
评论列表
文章目录