summaryrefslogtreecommitdiffstats
path: root/Lib/xmlrpc
Commit message (Collapse)AuthorAgeFilesLines
* 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-132-5/+19
|\ \ \ | |/ / | | | | | | 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-132-5/+19
| | | | | | | | | | | | modules and in documentation.
* | | Issue #18571: Implementation of the PEP 446: file descriptors and file handlesVictor Stinner2013-08-271-7/+0
| | | | | | | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
* | | 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.
* | | Merge #8112: Update the documenting xmlrpc server to use getfullargspec.R David Murray2013-08-101-7/+10
|\ \ \ | |/ /
| * | #8112: Update the documenting xmlrpc server to use getfullargspec.R David Murray2013-08-101-7/+10
| | | | | | | | | | | | | | | | | | | | | Before this patch it would raise an error when trying to display documentation for a method that used annotations. Patch by Claudiu Popa.
* | | Issue #15767: Excise the remaining instances of ModuleNotFoundErrorBrett Cannon2013-07-041-1/+1
| | |
* | | 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.
* | | Move test___all__ over to unittest.main() and use ModuleNotFoundErrorBrett Cannon2013-06-131-1/+1
| | |
* | | 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.
* | Merge 3.2Éric Araujo2012-03-051-1/+1
|\ \ | |/
| * Use raw string for a docstring that uses a backslashÉric Araujo2012-03-051-1/+1
| |
* | #13973: move a couple of imports at module level. Patch by Tshepang ↵Ezio Melotti2012-02-241-2/+1
| | | | | | | | Lekhonkhobe.
* | Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServerCharles-François Natali2012-02-181-1/+4
|\ \ | |/ | | | | upon malformed POST request.
| * Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServerCharles-François Natali2012-02-181-1/+4
| |\ | | | | | | | | | upon malformed POST request.
| | * Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServerCharles-François Natali2012-02-181-1/+4
| | | | | | | | | | | | upon malformed POST request.
* | | Closes #2979: add parameter 'use_builtin_types' to the SimpleXMLRPCServer.Florent Xicluna2011-12-091-10/+15
| | |
* | | 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-302-5/+11
| | | | | | | | | | | | standalone xmlrpc.server.
* | | Merge 3.2Florent Xicluna2011-10-302-33/+13
|\ \ \ | |/ /
| * | 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-302-20/+7
| | | | | | | | | | | | marshalling.
| * | Closes #13291: NameError in xmlrpc package.Florent Xicluna2011-10-302-4/+5
| | |
* | | Merge 3.2Florent Xicluna2011-10-281-1/+1
|\ \ \ | |/ /
| * | Closes #13258: Use callable() built-in in the standard library.Florent Xicluna2011-10-281-1/+1
| | |
* | | Cleanup code: remove int/long idioms and simplify a while statement.Florent Xicluna2011-10-231-9/+3
|/ /
* | #11565: Merge with 3.1.Ezio Melotti2011-03-161-1/+1
|\ \ | |/
| * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-1/+1
| |