title: Issue with Class Inheritance
body: <p>I'm trying to create a class that extends HTTPBasicAuthHandler. For some reason the same approach I use in older code is not working here.</p>
  
  <pre><code>class AuthInfo(urllib2.HTTPBasicAuthHandler):
      def __init__(self, realm, url, username, password):
          self.pwdmgr     = urllib2.HTTPPasswordMgrWithDefaultRealm()
          self.pwdmgr.add_password(None, url, username, password)
          super(AuthInfo, self).__init__(self.pwdmgr)
  </code></pre>
  
  <p>Here is the error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "./RestResult.py", line 67, in ?
      auth = AuthInfo(None, "default", "xxxxx", "xxxxxxxx")
    File "./RestResult.py", line 47, in __init__
      super(AuthInfo, self).__init__(self.pwdmgr)
  TypeError: super() argument 1 must be type, not classobj
  </code></pre>