[issue6769] in xmlrpclib.py: NameError: global name 'HTTPSConnection' is not defined

ivank report at bugs.python.org
Mon Aug 24 00:20:13 CEST 2009


New submission from ivank <ivan at ludios.org>:

Line 1491 of xmlrpclib.py should be

self._connection = host, httplib.HTTPSConnection(chost, None, **(x509 or
{}))

instead of

self._connection = host, HTTPSConnection(chost, None, **(x509 or {}))

  File
"/opt/Python-latest/lib/python2.7/site-packages/bzrlib/plugins/launchpad/lp_registration.py",
line 166, in send_request
    result = method(*method_params)
  File "/opt/Python-latest/lib/python2.7/xmlrpclib.py", line 1224, in
__call__
    return self.__send(self.__name, args)
  File "/opt/Python-latest/lib/python2.7/xmlrpclib.py", line 1570, in
__request
    verbose=self.__verbose
  File "/opt/Python-latest/lib/python2.7/xmlrpclib.py", line 1264, in
request
    return self.single_request(host, handler, request_body, verbose)
  File "/opt/Python-latest/lib/python2.7/xmlrpclib.py", line 1284, in
single_request
    h = self.make_connection(host)
  File "/opt/Python-latest/lib/python2.7/xmlrpclib.py", line 1491, in
make_connection
    self._connection = host, HTTPSConnection(chost, None, **(x509 or {}))
NameError: global name 'HTTPSConnection' is not defined

bzr 1.15 on python 2.7a0 (linux2)


I think this has been broken for around two weeks, maybe more. I don't
know if this is broken in 3.x.

----------
components: Library (Lib)
messages: 91895
nosy: ivank
severity: normal
status: open
title: in xmlrpclib.py: NameError: global name 'HTTPSConnection' is not defined
type: crash
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6769>
_______________________________________


More information about the Python-bugs-list mailing list