title: Pycurl WRITEDATA WRITEFUNCTION collision/crash
body: <p>How do I turnoff WRITEFUNCTION and WRITEDATA?</p>
  
  <p>Using pycurl I have a class call curlUtil. In it I have pageAsString (self, URL) which returns a string. </p>
  
  <p>To do this I setopt WRITEFUNCTION. Now in downloadFile (self, URL, fn, overwrite=0) I do an open and self.c.Setopt (pycurl.WRITEFUNCTION, 0) which cause problems. Int is not a valid argument. </p>
  
  <p>I then assumed WRITEDATA would overwrite the value or there would be a NOWRITEFUNCTION commend. NOWRITEFUNCTION didn't exist so I just used WRITEDATA and Python crashed. </p>
  
  <p>I wrote a quick func called reboot() which closes curl, opens it again, and calls reset to put it in the default state. I call it in both pageAsString and downloadFile and there is no problem at all. But, I don't want to reinitialize curl. There might be some special options I set. </p>
  
  <p>How do I turnoff WRITEFUNCTION and WRITEDATA?</p>