summaryrefslogtreecommitdiffstats
path: root/Lib/xmlrpc/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-021-2/+2
|\
| * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-2/+2
| | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* | Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-6/+14
|\ \ | |/ | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
| * Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-6/+14
| | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
* | #3566: Clean up handling of remote server disconnects.R David Murray2015-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset does two things: introduces a new RemoteDisconnected exception (that subclasses ConnectionResetError and BadStatusLine) so that a remote server disconnection can be detected by client code (and provides a better error message for debugging purposes), and ensures that the client socket is closed if a ConnectionError happens, so that the automatic re-connection code can work if the application handles the error and continues on. Tests are added that confirm that a connection is re-used or not re-used as appropriate to the various combinations of protocol version and headers. Patch by Martin Panter, reviewed by Demian Brecht. (Tweaked only slightly by me.)
* | Issue #22831: Use "with" to avoid possible fd leaks.Serhiy Storchaka2015-04-041-17/+11
| |
* | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__Serhiy Storchaka2015-01-311-9/+0
| | | | | | | | implementation in issue #21408 they are redundant.
* | merge 3.4 (#16043)Benjamin Peterson2014-12-061-2/+11
|\ \ | |/
| * merge 3.3 (#16043)Benjamin Peterson2014-12-061-2/+11
| |\
| | * merge 3.2 (#16043)Benjamin Peterson2014-12-061-2/+11
| | |\
| | | * add a default limit for the amount of data xmlrpclib.gzip_decode will return ↵Benjamin Peterson2014-12-061-2/+11
| | | | | | | | | | | | | | | | (closes #16043)
* | | | merge 3.4 (#22960)Benjamin Peterson2014-11-301-3/+12
|\ \ \ \ | |/ / /
| * | | add context parameter to xmlrpclib.ServerProxy (#22960)Benjamin Peterson2014-11-301-3/+12
| | | | | | | | | | | | | | | | Patch by Alex Gaynor.
* | | | Issue #22033: Reprs of most Python implemened classes now contain actualSerhiy Storchaka2014-07-251-7/+8
| | | | | | | | | | | | | | | | class name instead of hardcoded one.
* | | | Issue #22031: Reprs now always use hexadecimal format with the "0x" prefixSerhiy Storchaka2014-07-221-2/+2
| | | | | | | | | | | | | | | | when contain an id in form " at 0x...".
* | | | Issue #20627: xmlrpc.client.ServerProxy is now a context manager.Brett Cannon2014-03-211-0/+6
|/ / / | | | | | | | | | Patch by Claudiu Popa.
* | | Issue #20976: pyflakes: Remove unused importsVictor Stinner2014-03-201-1/+0
| | |
* | | merge from 3.3Senthil Kumaran2014-01-131-5/+5
|\ \ \ | |/ / | | | | | | Issue #19082: Working xmlrpc.server and xmlrpc.client examples. Both in modules and in documentation.
| * | Issue #19082: Working xmlrpc.server and xmlrpc.client examples. Both in ↵Senthil Kumaran2014-01-131-5/+5
| | | | | | | | | | | | modules and in documentation.
* | | Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-1/+1
|\ \ \ | |/ / | | | | | | error messages and comments.
| * | Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-1/+1
| | | | | | | | | | | | error messages and comments.
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-1/+1
| | |
* | | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-141-1/+1
| | | | | | | | | | | | ModuleNotFoundError.
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-2/+2
| | |
* | | Issue #16717: get rid of socket.error, replace with OSErrorAndrew Svetlov2012-12-181-2/+3
|/ /
* | Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
|\ \ | |/ | | | | Patch by Serhiy Storchaka.
| * Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
| | | | | | | | Patch by Serhiy Storchaka.
* | #13973: move a couple of imports at module level. Patch by Tshepang ↵Ezio Melotti2012-02-241-2/+1
| | | | | | | | Lekhonkhobe.
* | Closes #13297: use bytes type to send and receive binary data through XMLRPC.Florent Xicluna2011-11-151-16/+36
| |
* | Fix regression due to changeset 2096158376e5 (issue #13305).Florent Xicluna2011-10-311-6/+21
| |
* | Let's assume that the datetime module is always available.Florent Xicluna2011-10-301-23/+10
| |
* | Fix User-Agent for the xmlrpc.client, and catch KeyboardInterrupt for the ↵Florent Xicluna2011-10-301-3/+4
| | | | | | | | standalone xmlrpc.server.
* | Merge 3.2Florent Xicluna2011-10-301-28/+8
|\ \ | |/
| * Issue #13293: Better error message when trying to marshal bytes using ↵Florent Xicluna2011-10-301-9/+1
| | | | | | | | xmlrpc.client.
| * Cleanup xmlrpc: remove obsolete comments, unused imports. Add test for bytes ↵Florent Xicluna2011-10-301-18/+6
| | | | | | | | marshalling.
| * Closes #13291: NameError in xmlrpc package.Florent Xicluna2011-10-301-1/+1
| |
* | Cleanup code: remove int/long idioms and simplify a while statement.Florent Xicluna2011-10-231-9/+3
|/
* Fix Issue8194 - Fix incompatible API change in the parse_respones for ↵Senthil Kumaran2010-12-081-2/+6
| | | | xmlrpclib.
* Code Changes as per review comments by Antoine Pitrou.Senthil Kumaran2010-11-181-1/+1
|
* Fix Issue 9991: xmlrpc client ssl check faultySenthil Kumaran2010-11-181-1/+1
|
* #9032: XML-RPC client: Transport.request() retries on EPIPE errorVictor Stinner2010-07-241-1/+1
| | | | | | | | | | | | The EPIPE error occurs when the server closes the socket and the client sends a "big" XML-RPC request (I don't know exactly the size threshold). request() just have to ignore the error because single_request() closes the socket on error, and so the next call to single_request() will open a new socket. Remove also a comment in the HTTP client because it's now wrong: see r70643 and issue #5542.
* Use true booleans and PEP8 for argdefaults.Georg Brandl2009-09-161-10/+10
|
* Issue #6360: Simplify string decoding in xmlrpc.client.Alexandre Vassalotti2009-07-221-17/+4
|
* merging revision 74100 from trunk:Kristján Valur Jónsson2009-07-191-1/+1
| | | | | http://bugs.python.org/issue6499 gzip.GzipFile may not exist as a parent class
* porting revision 74098 from trunk:Kristján Valur Jónsson2009-07-191-3/+13
| | | | | http://bugs.python.org/issue6499 zlib/gzip may not be present for all builds. Make xmlrpclib gracefully not supporg gzip encoding in this case
* http://bugs.python.org/issue6267Kristján Valur Jónsson2009-07-031-5/+5
| | | | Incorrect exception handling for xmlrpclient retry
* http://bugs.python.org/issue6267Kristján Valur Jónsson2009-07-011-47/+208
| | | | porting revision 73638 to py3k
* #3613: add base64.encodebytes and decodebytes as the new spelling of ↵Georg Brandl2009-06-041-3/+3
| | | | encodestring and decodestring; deprecate the latter.
* Remove mentions of the nonexisting SlowParser in xmlrpc.client.Georg Brandl2009-06-041-28/+19
|
* Recorded merge of revisions 73201 via svnmerge fromGeorg Brandl2009-06-041-54/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73201 | georg.brandl | 2009-06-04 10:58:32 +0200 (Do, 04 Jun 2009) | 1 line #5767: remove sgmlop support from xmlrpclib; the sgmlop parser does not do much validation and is no longer much faster than e.g. the cElementTree XMLParser. ........