[issue28389] xmlrpc.client HTTP proxy example code does not work

2016-10-09 Thread Attila Vangel
Attila Vangel added the comment: Thanks for fixing this issue. I checked the changed documentation online, and I came up with a very similar solution. One difference is that although this example overrides the make_connection() method, but omits the following lines which are present in the xml

[issue28389] xmlrpc.client HTTP proxy example code does not work

2016-10-09 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue28389] xmlrpc.client HTTP proxy example code does not work

2016-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 94c9c314f5d9 by Berker Peksag in branch '3.5': Issue #28389: Fix ProxiedTransport example in xmlrpc.client documentation https://hg.python.org/cpython/rev/94c9c314f5d9 New changeset 60c5c77c0190 by Berker Peksag in branch '3.6': Issue #28389: Merge

[issue28389] xmlrpc.client HTTP proxy example code does not work

2016-10-08 Thread Berker Peksag
Changes by Berker Peksag : -- type: crash -> behavior versions: +Python 3.6, Python 3.7 -Python 3.4 ___ Python tracker ___ ___ Python-

[issue28389] xmlrpc.client HTTP proxy example code does not work

2016-10-08 Thread Attila Vangel
Attila Vangel added the comment: It's my pleasure. It was somewhat similar: - the set_proxy() is the same - for the make_connection() I gave the necessary clues, so one can create the code and you can use that in a way that I don't have to spend time on the PSF Contributor Agreement - overridin

[issue28389] xmlrpc.client HTTP proxy example code does not work

2016-10-08 Thread Berker Peksag
Berker Peksag added the comment: Thanks. I guess your solution was similar to the attached patch? -- keywords: +patch stage: -> patch review type: crash -> behavior versions: +Python 3.6, Python 3.7 -Python 3.4 Added file: http://bugs.python.org/file45016/issue28389.diff __

[issue28389] xmlrpc.client HTTP proxy example code does not work

2016-10-08 Thread Attila Vangel
Attila Vangel added the comment: Hi, thx for the quick turnaround. I tried the proxy.py (on python 3.5) of course replacing 'YOUR_PROXY' with '10.144.1.11:8080' according to my environment. python3 proxy.py Traceback (most recent call last): File "proxy.py", line 27, in print(server.exa

[issue28389] xmlrpc.client HTTP proxy example code does not work

2016-10-08 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. Can you try the attached script? -- nosy: +berker.peksag Added file: http://bugs.python.org/file45014/proxy.py ___ Python tracker

[issue28389] xmlrpc.client HTTP proxy example code does not work

2016-10-08 Thread Attila Vangel
Attila Vangel added the comment: I tested it also on Python 3.4.3. I got the same error. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue28389] xmlrpc.client HTTP proxy example code does not work

2016-10-08 Thread Attila Vangel
Changes by Attila Vangel : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue28389] xmlrpc.client HTTP proxy example code does not work

2016-10-08 Thread Attila Vangel
New submission from Attila Vangel: Go to https://docs.python.org/3/library/xmlrpc.client.html Under '21.26.8. Example of Client Usage' -> 'To access an XML-RPC server through a HTTP proxy, you need to define a custom transport. The following example shows how:' copy the example code to a .py fi