[issue1613573] xmlrpclib ServerProxy uses old httplib interface
anatoly techtonik
report at bugs.python.org
Wed Sep 16 17:33:38 CEST 2009
anatoly techtonik <techtonik at gmail.com> added the comment:
Yep, the patch at #6267 is an extension of this one except for the last
chunk where I also check if sockets are ssl-enabled. I am not sure why
it was needed. It also may have been already fixed somewhere else. As
this bug doesn't have any tests attached it may be considered closed for
now.
Would be nice to see these fixes in Python 2.6 though as it is the
default version that seems to go in Ubuntu 9.10
+ import socket
+ if not socket._have_ssl:
raise NotImplementedError(
"your version of httplib doesn't support HTTPS"
)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1613573>
_______________________________________
More information about the Python-bugs-list
mailing list