title: `member_descriptor` object is not callable on socket object
body: <p>I am trying to make a web proxy that is multi threaded. I can do a single threaded one just fine but when I try to use multi-threading it throws this error every time.</p>
  
  <pre><code>Traceback (most recent call last):
    File "malwareProxy.py", line 25, in newClientInteraction
      request = clientSocket.recv(BUFFLEN)
  TypeError: 'member_descriptor' object is not callable
  </code></pre>
  
  <p>I have these imports:</p>
  
  <pre><code>import sys
  import thread
  from socket import *
  </code></pre>
  
  <p>And the important bits of code:</p>
  
  <pre><code>def newClientInteraction(clientSocket, addr):
      try:
          port = 80
  
          request = clientSocket.recv(BUFFLEN)
  ....
  serverListener = socket(AF_INET, SOCK_STREAM)
      serverListener.bind(("", serverPort))
      serverListener.listen(100)
      print("\nProxy Server listening on port {0}...".format(serverPort))
  
      # Start to listen for connections
      while True:
          (newsocket, addr) = serverListener.accept()
          print("Connection made from: {0}".format(newsocket.getpeername()))
  
          thread.start_new_thread(newClientInteraction, (socket, addr))
  </code></pre>
  
  <p>Please help. I am pretty new to python and have no idea why I am getting this error. I have looked at some other posts about this error and the answers seem to have to do with the programmer using multiple files and imports I am just using the one file. Thank you.</p>