Drop unneeded try and except
Remove debug code
Python 3 compatibility: exception raising syntax
Python 3 compatibility: print syntax (pycurl)
Python 3 compatibility: print syntax (tests)
Python 3 compatibility: print syntax (examples)
Python 3 compatibility: printing to stderr (tests)
Python 3 compatibility: printing to stderr (linksys example)
Python 3 compatibility: StringIO (pycurl)
Python 3 compatibility: StringIO (tests)
Python 3 compatibility: StringIO (examples)
Python 3 compatibility: xrange
Python 3 compatibility: apply no longer exists (pycurl)
Python 3 compatibility: apply no longer exists (tests)
Python 3 compatibility: xmlrpclib
Python 3 compatibility: urllib (pycurl)
Python 3 compatibility: urllib (tests)
Python 3 compatibility: pickle and copy raise TypeError on failure
Python 3 compatibility: gc.DEBUG_OBJECTS does not exist