[issue22960] xmlrpc.client.ServerProxy() should accept a custom SSL context parameter

2014-11-30 Thread zodalahtathi
zodalahtathi added the comment: Thank you -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22960 ___ ___ Python-bugs-list mailing list

[issue22960] xmlrpc.client.ServerProxy() should accept a custom SSL context parameter

2014-11-29 Thread Alex Gaynor
Alex Gaynor added the comment: Attached is a patch for 2.7 -- keywords: +patch Added file: http://bugs.python.org/file37321/issue22960.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22960

[issue22960] xmlrpc.client.ServerProxy() should accept a custom SSL context parameter

2014-11-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: I suppose I should ask you to write a test. Of course, HTTPS doesn't seem to be tested at all right now (see the attractive FIXME: mostly untested comment in SafeTransport.) Maybe, it's easier now, though, using the code in Lib/test/ssl_servers.py?

[issue22960] xmlrpc.client.ServerProxy() should accept a custom SSL context parameter

2014-11-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 62bd574e95d5 by Benjamin Peterson in branch '2.7': add context parameter to xmlrpclib.ServerProxy (#22960) https://hg.python.org/cpython/rev/62bd574e95d5 -- nosy: +python-dev ___ Python tracker

[issue22960] xmlrpc.client.ServerProxy() should accept a custom SSL context parameter

2014-11-29 Thread Alex Gaynor
Alex Gaynor added the comment: Attached patch fixes it for Python3. -- Added file: http://bugs.python.org/file37323/issue22960-3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22960 ___

[issue22960] xmlrpc.client.ServerProxy() should accept a custom SSL context parameter

2014-11-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4b00430388ad by Benjamin Peterson in branch '3.4': add context parameter to xmlrpclib.ServerProxy (#22960) https://hg.python.org/cpython/rev/4b00430388ad New changeset 2a126ce6f83e by Benjamin Peterson in branch 'default': merge 3.4 (#22960)

[issue22960] xmlrpc.client.ServerProxy() should accept a custom SSL context parameter

2014-11-29 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22960 ___

[issue22960] xmlrpc.client.ServerProxy() should accept a custom SSL context parameter

2014-11-27 Thread zodalahtathi
New submission from zodalahtathi: When using xmlrpc.server it is possible (despite being intrusive) to use a custom SSL context, ie: import ssl import xmlrpc.server rpc_server = xmlrpc.server.SimpleXMLRPCServer(...) ssl_context = ssl.SSLContext() # setup the context ... rpc_server.socket =

[issue22960] xmlrpc.client.ServerProxy() should accept a custom SSL context parameter

2014-11-27 Thread Alex Gaynor
Changes by Alex Gaynor alex.gay...@gmail.com: -- nosy: +alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22960